stud/III/Bautrenas/task3/Makefile
2020-12-07 17:15:05 +02:00

11 lines
239 B
Makefile

all: ZPT003_2020_03_ats.txt elphistone_6.pdf
%.pdf: %.tex
latexmk -g -lualatex $<
ZPT003_2020_03_ats.txt: ZPT003_2020_03_ats.py consts.py
python3 $< > $@
consts.py: elphistone_6.pdf
printf "wc = %d\n" $$(pdftotext $< - | wc -m) > $@