diff --git a/makefile b/makefile index e3ab559..af08920 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,9 @@ -output.pdf : template.tex details.yml - pandoc $(filter-out $<,$^ ) -o $@ --latex-engine=xelatex --template=$< +src = template.tex details.yml +LFLAGS = --latex-engine=xelatex +output.pdf : $(src) + pandoc $(filter-out $<,$^ ) -o $@ $(LFLAGS) --template=$< + +.PHONY: clean clean : rm output.pdf