Makefile 266 B

1234567891011121314151617
  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 -pdflua $(DOCNAME)
  7. clean:
  8. latexmk -CA
  9. install:
  10. mkdir -pv ${out}/nix-support/
  11. cp $(DOCNAME).pdf ${out}/