mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
add makefile
This commit is contained in:
parent
4ec17acaba
commit
39d3c78fcd
1 changed files with 17 additions and 0 deletions
17
slides/Makefile
Normal file
17
slides/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
src = $(wildcard *.tex)
|
||||
pdf = $(src:.tex=.pdf)
|
||||
imgpdf = $(wildcard img/*.pdf)
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: $(pdf) $(imgpdf)
|
||||
|
||||
%.pdf: %.tex $(wildcard src/*.tex) $(wildcard *.bib) $(imgpdf)
|
||||
latexmk -pdf -xelatex -shell-escape -file-line-error -synctex=1 -halt-on-error -shell-escape $<
|
||||
|
||||
clean:
|
||||
latexmk -C $(src)
|
||||
rm -f $(wildcard *.out *.nls *.nlo *.bbl *.blg *-blx.bib *.run.xml *.bcf *.synctex.gz *.fdb_latexmk *.fls *.toc)
|
||||
rm -f $(wildcard src/*.aux)
|
||||
|
||||
|
Loading…
Reference in a new issue