makefile love

This commit is contained in:
mrzool 2015-12-14 14:44:18 +01:00
parent f90c3448e4
commit 24f6a352e1

View File

@ -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