more makefile love

This commit is contained in:
mrzool 2015-12-14 15:05:47 +01:00
parent 24f6a352e1
commit 64f3c2eedd

View File

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