<commit_before>
FILES=$(shell find -name "*.xml")

all: html/index.html
	
clean:
	$(RM) docbook-xsl
	$(RM) -R html/

docbook-xsl:
	test -e "$(DOCBOOK_PATH)" && ln -s "$(DOCBOOK_PATH)" docbook-xsl

html/index.html: $(FILES) src/site.xslt docbook-xsl
	cd src; xsltproc -o ../html/ --xinclude site.xslt gug.xml

<commit_msg>GUAC-1145: Document Makefile.<commit_after>
#
# Build entire manual
#

all: html/index.html
	
#
# Clean build artifacts
#

clean:
	$(RM) docbook-xsl
	$(RM) -R html/

#
# Link Docbook XSL into build, if available
#

docbook-xsl:
	test -e "$(DOCBOOK_PATH)" && ln -s "$(DOCBOOK_PATH)" docbook-xsl

#
# HTML manual build
#

# All XML files which the build depends on
FILES=$(shell find -name "*.xml")

html/index.html: $(FILES) src/site.xslt docbook-xsl
	cd src; xsltproc -o ../html/ --xinclude site.xslt gug.xml


{'fraction_non_alphanumeric': 0.16726835138387486, 'fraction_numerical': 0.0048134777376654635, 'mean_word_length': 3.5217391304347827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2505861', 'n_tokens_mistral': 363, 'n_tokens_neox': 328, 'n_words': 92}