16 lines
379 B
Makefile
16 lines
379 B
Makefile
TEX = pandoc
|
|
src = template.tex details.yml
|
|
src_contract = template_contract.tex details.yml
|
|
FLAGS = --pdf-engine=xelatex
|
|
|
|
output.pdf : $(src)
|
|
$(TEX) $(filter-out $<,$^ ) -o $@ --template=$< $(FLAGS)
|
|
|
|
.PHONY: contract
|
|
contract : $(src_contract)
|
|
$(TEX) $(filter-out $<,$^ ) -o output_contract.pdf --template=$< $(FLAGS)
|
|
|
|
.PHONY: clean
|
|
clean :
|
|
rm output.pdf output_contract.pdf
|