123456789101112131415161718192021 |
- -include local.mk
- DOCTEX=$(patsubst %.pdf,%.tex,$(DOC))
- .PHONY: all clean install
- all: $(DOC)
- %.tex: %.org
- HOME=. emacs -q -Q -nw --batch --load init.el --eval "(progn (local/org-latex-export \"$<\") (kill-emacs))"
- %.pdf: %.tex
- latexmk -pdf $<
- clean:
- latexmk -CA
- $(RM) $(DOCTEX)
- install: $(DOC)
- mkdir -pv ${out}/nix-support/
- cp -t ${out} $^
|