mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
fix makefile
This commit is contained in:
parent
205480d314
commit
4ec17acaba
1 changed files with 2 additions and 6 deletions
|
@ -2,16 +2,12 @@ src = $(wildcard *.tex)
|
|||
pdf = $(src:.tex=.pdf)
|
||||
imgpdf = $(wildcard img/*.pdf)
|
||||
|
||||
.PHONY: all clean install
|
||||
.PHONY: all clean
|
||||
|
||||
all: $(pdf) $(imgpdf)
|
||||
|
||||
%.pdf: %.tex $(wildcard src/*.tex) $(wildcard *.bib) $(imgpdf)
|
||||
latexmk -file-line-error -synctex=1 -halt-on-error -shell-escape -pdf $<
|
||||
|
||||
fast:
|
||||
# enforce tex execution
|
||||
pdflatex -synctex=1 $(src)
|
||||
latexmk -pdf -xelatex -shell-escape -file-line-error -synctex=1 -halt-on-error -shell-escape $<
|
||||
|
||||
clean:
|
||||
latexmk -C $(src)
|
||||
|
|
Loading…
Reference in a new issue