You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
488 B

.PHONY: all watch check clean
src = \
presi.tex \
presi.bib \
$(wildcard *.tex) \
$(wildcard figures/*) \
$(wildcard listings/*)
latexmkopts = \
-pdflua \
-shell-escape \
-use-make \
-synctex=1 \
-interaction=nonstopmode \
-file-line-error
all: presi.pdf
presi.pdf: $(src)
latexmk $(latexmkopts) \
-Werror \
presi.tex
watch: $(src)
latexmk $(latexmkopts) \
-pvc \
-view=none \
presi.tex
clean:
latexmk -c presi.tex
rm -fR presi.pdf