<commit_before>
XML_DEPS=../../../utils/xml_deps.sh

arch.deps.mk: arch.xml
	$(XML_DEPS) $@ $<

-include arch.deps.mk

merged.xml: arch.xml arch.deps.mk
	rm -f $@
	echo "<!-- Generated from arch.xml - **DO NOT EDIT** -->" > $@
	XMLLINT_INDENT=' ' xmllint --pretty 1 --xinclude --nsclean --format arch.xml |  \
		sed -e's/ *\(xml\|xmlns\):[^=]*="[^"]*" */ /g' \
	>> $@
	chmod u-w $@ # Make read only to prevent editing.

.DEFAULT_GOAL := merged.xml<commit_msg>ice40: Generate valid xml file.<commit_after>
XML_DEPS=../../../utils/xml_deps.sh

arch.deps.mk: arch.xml
	$(XML_DEPS) $@ $<

-include arch.deps.mk

merged.xml: arch.xml arch.deps.mk
	rm -f $@
	echo '<?xml version="1.0"?>' > $@
	echo '<!-- Generated from arch.xml - **DO NOT EDIT** -->' >> $@
	XMLLINT_INDENT=' ' xmllint --pretty 1 --xinclude --nsclean --format arch.xml |  \
		sed -e's/ *\(xml\|xmlns\):[^=]*="[^"]*" */ /g' \
	| tail -n+2 >> $@
	chmod u-w $@ # Make read only to prevent editing.

.DEFAULT_GOAL := merged.xml
{'fraction_non_alphanumeric': 0.24491869918699186, 'fraction_numerical': 0.007113821138211382, 'mean_word_length': 2.8030888030888033, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 1, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 22}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6319766', 'n_tokens_mistral': 434, 'n_tokens_neox': 403, 'n_words': 90}