Makefile 332 B

1234567891011121314151617181920
  1. DOCNAME = document
  2. export TEXINPUTS := ./texmf/:$(TEXINPUTS)
  3. .PHONY: $(DOCNAME).pdf all clean
  4. all: $(DOCNAME).pdf
  5. $(DOCNAME).pdf: $(DOCNAME).tex
  6. latexmk -pdf $(DOCNAME)
  7. continuous:
  8. latexmk -pdf -pvc -interaction=nonstopmode $(DOCNAME)
  9. clean:
  10. latexmk -CA
  11. install:
  12. # mkdir -pv ${out}/nix-support/
  13. cp $(DOCNAME).pdf ${out}