stud/III/Bautrenas/task3/Makefile

11 lines
239 B
Makefile
Raw Normal View History

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
printf "wc = %d\n" $$(pdftotext $< - | wc -w) > $@