Makefile 336 B

12345678910111213141516171819202122
  1. RESUME=resume.de.json
  2. # TEMPLATES=$(wildcard *.in)
  3. TEMPLATES=cv.tex.in
  4. TEX=$(patsubst %.in,%,$(TEMPLATES))
  5. PDF=$(patsubst %.tex,%.pdf,$(TEX))
  6. .PHONY: all clean
  7. all: $(PDF)
  8. clean:
  9. rm -f $(shell cat .gitignore)
  10. %.tex: %.tex.in $(RESUME)
  11. @python convert.py --template $< --resume $(RESUME) > $@
  12. %.pdf: %.tex $(TEX)
  13. @xelatex $<