Makefile 326 B

123456789101112131415161718192021
  1. DIST=document.pdf
  2. export TEXINPUTS := ./texmf/:$(TEXINPUTS)
  3. .PHONY: all clean install continuous
  4. all: $(DIST)
  5. %.pdf: %.tex
  6. latexmk -pdf $<
  7. continuous: $(DIST)
  8. latexmk -pdf -pvc -interaction=nonstopmode $<
  9. clean:
  10. latexmk -CA $(DIST)
  11. $(RM) $(JUNK_TEX)
  12. install: $(DIST)
  13. mkdir -pv ${out}/nix-support/
  14. cp -t ${out} $^