2020-12-04 14:23:27 +02:00
|
|
|
all: ZPT003_2020_03_ats.txt elphistone_6.pdf
|
|
|
|
|
|
|
|
%.pdf: %.tex
|
|
|
|
latexmk -g -lualatex $<
|
|
|
|
|
2020-12-04 15:00:10 +02:00
|
|
|
ZPT003_2020_03_ats.txt: ZPT003_2020_03_ats.py consts.py
|
2020-12-04 14:23:27 +02:00
|
|
|
python3 $< > $@
|
2020-12-04 15:00:10 +02:00
|
|
|
|
|
|
|
consts.py: elphistone_6.pdf
|
2020-12-06 22:49:58 +02:00
|
|
|
printf "wc = %d\n" $$(pdftotext $< - | tr -d '[:space:]' | wc -m) > $@
|