1 SOURCES=$(wildcard *.tex) tea/rating.tex
2 OUTPUTS=$(SOURCES:.tex=.pdf)
7 rm $(OUTPUTS) *.aux *.log tea/*.aux tea/*.log
10 cd $(@D) && pdflatex -halt-on-error $(<F) && pdflatex -halt-on-error $(<F)
14 cp $(filter-out tea/rating.pdf,$^) artifacts/
15 cp tea/rating.pdf artifacts/tea-rating.pdf
17 # Delete PDF's when they fail to compile
18 # See https://www.gnu.org/software/make/manual/html_node/Errors.html#Errors