<commit_before>DOCS = syllabus assignments quizzes labs exams slides
PDF = $(addsuffix .pdf, $(FILES))

.PHONY: clean code docs all
all: code

docs: code $(PDF)
	@echo -n "  Binding documents... "
	@gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=course-material.pdf $(PDF)
	@echo "Done."
	@rm -f $(PDF)

$(PDF):
	@$(MAKE) --no-print-directory docs -C assignments;
	@$(MAKE) --no-print-directory docs -C quizzes;
	@$(MAKE) --no-print-directory docs -C labs;
	@$(MAKE) --no-print-directory docs -C exams;
	@$(MAKE) --no-print-directory docs -C slides;
	@$(MAKE) --no-print-directory docs -C syllabus;

code:
	@$(MAKE) --no-print-directory code -C assignments;
	@$(MAKE) --no-print-directory code -C quizzes;
	@$(MAKE) --no-print-directory code -C labs;
	@$(MAKE) --no-print-directory code -C exams;
	@$(MAKE) --no-print-directory code -C slides;
	@$(MAKE) --no-print-directory code -C syllabus;

clean:
	@$(MAKE) --no-print-directory clean -C assignments;
	@$(MAKE) --no-print-directory clean -C quizzes;
	@$(MAKE) --no-print-directory clean -C labs;
	@$(MAKE) --no-print-directory clean -C exams;
	@$(MAKE) --no-print-directory clean -C slides;
	@$(MAKE) --no-print-directory clean -C syllabus;<commit_msg>added top-level pdf file (resolves #4)<commit_after>DOCS = syllabus assignments quizzes labs exams slides
PDF_TARGET = course-material.pdf
PDF = $(addsuffix .pdf, $(DOCS))

.PHONY: clean code documents docs all
all: code

docs: code $(PDF_TARGET)
	@echo -n "  Binding documents... "
	@gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=course-material.pdf $(PDF)
	@echo "Done."
	@rm -f $(PDF)

$(PDF_TARGET):
	@$(MAKE) --no-print-directory docs -C assignments;
	@$(MAKE) --no-print-directory docs -C quizzes;
	@$(MAKE) --no-print-directory docs -C labs;
	@$(MAKE) --no-print-directory docs -C exams;
	@$(MAKE) --no-print-directory docs -C slides;
	@$(MAKE) --no-print-directory docs -C syllabus;

code:
	@$(MAKE) --no-print-directory code -C assignments;
	@$(MAKE) --no-print-directory code -C quizzes;
	@$(MAKE) --no-print-directory code -C labs;
	@$(MAKE) --no-print-directory code -C exams;
	@$(MAKE) --no-print-directory code -C slides;
	@$(MAKE) --no-print-directory code -C syllabus;

clean:
	@$(MAKE) --no-print-directory clean -C assignments;
	@$(MAKE) --no-print-directory clean -C quizzes;
	@$(MAKE) --no-print-directory clean -C labs;
	@$(MAKE) --no-print-directory clean -C exams;
	@$(MAKE) --no-print-directory clean -C slides;
	@$(MAKE) --no-print-directory clean -C syllabus;
	@rm -f $(PDF) $(PDF_TARGET)
{'fraction_non_alphanumeric': 0.1912460567823344, 'fraction_numerical': 0.0003943217665615142, 'mean_word_length': 3.604355716878403, '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': '268843', 'n_tokens_mistral': 1019, 'n_tokens_neox': 939, 'n_words': 271}