Added 'debug' target to Makefile
This commit is contained in:
parent
0c1566e5a5
commit
0bb18c5316
9
Makefile
9
Makefile
|
|
@ -20,6 +20,15 @@ clean:
|
|||
latexmk -C
|
||||
rm -f paper-*.pdf
|
||||
|
||||
debug:
|
||||
emacs -Q --batch -l build.el --eval "(setenv \"VENUE\" \"$(VENUE)\")" \
|
||||
--eval "(with-current-buffer (find-file-noselect \"paper.org\") (wes--inject-setupfile \"$(VENUE)\") (org-latex-export-to-latex))"
|
||||
latexmk -C
|
||||
latexmk -pdf -file-line-error -halt-on-error -interaction=nonstopmode -shell-escape paper.tex || true
|
||||
@echo "---- paper.log (tail) ----"
|
||||
@tail -n 200 paper.log || true
|
||||
|
||||
|
||||
# Dockerized builds
|
||||
DOCKER_IMAGE ?= polypaper:full
|
||||
DOCKERFILE ?= Dockerfile.full
|
||||
|
|
|
|||
Loading…
Reference in New Issue