more makefile love

This commit is contained in:
mrzool 2015-12-14 15:10:59 +01:00
parent 9774cadfe5
commit 9f35508ad6

View File

@ -1,9 +1,9 @@
TEX = pandoc TEX = pandoc
src = template.tex details.yml src = template.tex details.yml
LFLAGS = --latex-engine=xelatex FLAGS = --latex-engine=xelatex
output.pdf : $(src) output.pdf : $(src)
$(TEX) $(filter-out $<,$^ ) -o $@ --template=$< $(LFLAGS) $(TEX) $(filter-out $<,$^ ) -o $@ --template=$< $(FLAGS)
.PHONY: clean .PHONY: clean
clean : clean :