From 24f6a352e1201eb5f5bdacd9854a32c66fb297ec Mon Sep 17 00:00:00 2001 From: mrzool Date: Mon, 14 Dec 2015 14:44:18 +0100 Subject: [PATCH] makefile love --- makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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