Makefile 374 B

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