18 lines
353 B
Makefile
18 lines
353 B
Makefile
|
.PHONY: clean, render
|
||
|
|
||
|
NAME=Masterarbeit
|
||
|
LAST_EXPORT=`cat LAST_EXPORT`
|
||
|
|
||
|
render:
|
||
|
pdflatex ${NAME}.tex
|
||
|
bibtex ${NAME}
|
||
|
pdflatex ${NAME}.tex
|
||
|
pdflatex ${NAME}.tex
|
||
|
|
||
|
diff:
|
||
|
git-latexdiff $(LAST_EXPORT) -- --main ${NAME}.tex --no-flatten -o diff.pdf
|
||
|
|
||
|
clean:
|
||
|
rm -f *.aux *.bbl *.blg *.dvi *.log *.lol *.lot *.lof *.toc *.out *.synctex.gz *.bak
|
||
|
rm -f *.pdf
|