Skip to content

Commit edce998

Browse files
committed
call lulatex directly and make pdf phony
1 parent 1c90fc8 commit edce998

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all clean snippets
1+
.PHONY: all clean snippets slides/build/main.pdf
22

33
PDF_SLIDES = slides.pdf
44
PDF_EXERCISE = exercise.pdf
@@ -11,13 +11,13 @@ $(PDF_SLIDES): slides/build/main.pdf
1111
$(PDF_EXERCISE): exercise/build/main.pdf
1212
cp $< $@
1313

14-
slides/build/main.pdf: $(shell find slides -name '*.tex') slides/beamerthemevertex.sty
14+
slides/build/main.pdf:
1515
cd slides && mkdir -p build && \
16-
latexmk -halt-on-error -pdflatex=lualatex -pdf -jobname=build/main main.tex
16+
lualatex -halt-on-error -jobname=build/main main.tex
1717

1818
exercise/build/main.pdf: $(shell find exercise -name '*.tex')
1919
cd exercise && mkdir -p build && \
20-
latexmk -halt-on-error -pdflatex=lualatex -pdf -jobname=build/main main.tex
20+
lualatex -halt-on-error -jobname=build/main main.tex
2121

2222
snippets:
2323
make -f Makefile.snippets

0 commit comments

Comments
 (0)