<commit_before>DOCUMENT=ldbc-snb-specification.tex

spec: $(DOCUMENT)
	latexmk -pdf --interaction=batchmode $(DOCUMENT)

all: generate_query_cards compile_query_cards workloads texfot
	ls *.pdf

generate_query_cards: $(DOCUMENT)
	./generate-tex.py

compile_query_cards: $(DOCUMENT)
	cd standalone-query-cards && \
	for card in *.tex; do \
		../texfot.pl latexmk -pdf --interaction=batchmode $$card ; \
	done

workloads: $(DOCUMENT)
	for doc in workload-*.tex; do \
		./texfot.pl latexmk -pdf --interaction=batchmode $$doc ; \
	done

texfot: $(DOCUMENT)
	./texfot.pl latexmk -pdf --interaction=batchmode $(DOCUMENT)

clean:
	rm -f *.aux *.dvi *.thm *.lof *.log *.lot *.fls *.out *.toc *.bbl *.blg *.fdb_latexmk
	cd standalone-query-cards && rm -rf *.aux *.dvi *.thm *.lof *.log *.lot *.fls *.out *.toc *.bbl *.blg *.fdb_latexmk<commit_msg>Extend the Makefile's clean goal<commit_after>DOCUMENT=ldbc-snb-specification.tex

spec: $(DOCUMENT)
	latexmk -pdf --interaction=batchmode $(DOCUMENT)

all: generate_query_cards compile_query_cards workloads texfot
	ls *.pdf

generate_query_cards: $(DOCUMENT)
	./generate-tex.py

compile_query_cards: $(DOCUMENT)
	cd standalone-query-cards && \
	for card in *.tex; do \
		../texfot.pl latexmk -pdf --interaction=batchmode $$card ; \
	done

workloads: $(DOCUMENT)
	for doc in workload-*.tex; do \
		./texfot.pl latexmk -pdf --interaction=batchmode $$doc ; \
	done

texfot: $(DOCUMENT)
	./texfot.pl latexmk -pdf --interaction=batchmode $(DOCUMENT)

clean:
	rm -f *.aux *.dvi *.thm *.lof *.log *.lot *.fls *.out *.toc *.bbl *.blg *.fdb_latexmk
	cd standalone-query-cards && rm -rf *.aux *.dvi *.thm *.lof *.log *.lot *.fls *.out *.toc *.bbl *.blg *.fdb_latexmk
	rm query-cards/*
{'fraction_non_alphanumeric': 0.1692936368943374, 'fraction_numerical': 0.0, 'mean_word_length': 3.60752688172043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '577772', 'n_tokens_mistral': 732, 'n_tokens_neox': 644, 'n_words': 171}