| author | Alan Dipert
<alan@dipert.org> 2025-12-04 04:58:53 UTC |
| committer | Alan Dipert
<alan@dipert.org> 2025-12-04 04:58:53 UTC |
| parent | 07ac5fecb847732936d153b9c445f7ea78e7f360 |
| Makefile | +5 | -3 |
diff --git a/Makefile b/Makefile index 9998d25..64955de 100644 --- a/Makefile +++ b/Makefile @@ -3,21 +3,23 @@ PYTHON ?= python3 GENERATED_JSON := generated_test.json BOOKLET := test_booklet.txt KEY := answer_key.txt +BOOKLET_PDF := test_booklet.pdf +KEY_PDF := answer_key.pdf .PHONY: generate render run clean test all: run generate: - $(PYTHON) main.py --out $(GENERATED_JSON) + $(PYTHON) main.py --out $(GENERATED_JSON) $(EXTRA_ARGS) render: generate - $(PYTHON) render_text.py --in $(GENERATED_JSON) --test-out $(BOOKLET) --key-out $(KEY) + $(PYTHON) render_text.py --in $(GENERATED_JSON) --test-out $(BOOKLET) --key-out $(KEY) --test-pdf $(BOOKLET_PDF) --key-pdf $(KEY_PDF) run: generate render clean: - rm -f $(GENERATED_JSON) $(BOOKLET) $(KEY) + rm -f $(GENERATED_JSON) $(BOOKLET) $(KEY) $(BOOKLET_PDF) $(KEY_PDF) find . -name "__pycache__" -type d -prune -exec rm -rf {} + test: