matkant_invoice/pandoc/makefile

11 lines
192 B
Makefile

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