2016-03-07 12:28:39 +01:00
|
|
|
.PHONY: clean, render
|
|
|
|
|
|
|
|
NAME=Bachelorarbeit
|
2016-07-09 14:19:51 +02:00
|
|
|
LAST_EXPORT=`cat LAST_EXPORT`
|
2016-03-07 12:28:39 +01:00
|
|
|
|
|
|
|
render:
|
2016-03-07 12:46:38 +01:00
|
|
|
pdflatex ${NAME}.tex
|
2016-03-07 12:28:39 +01:00
|
|
|
bibtex ${NAME}
|
2016-03-07 12:46:38 +01:00
|
|
|
pdflatex ${NAME}.tex
|
|
|
|
pdflatex ${NAME}.tex
|
2016-03-07 12:28:39 +01:00
|
|
|
|
2016-07-09 14:19:51 +02:00
|
|
|
diff:
|
|
|
|
git-latexdiff $(LAST_EXPORT) -- --main Bachelorarbeit.tex --no-flatten -o diff.pdf
|
|
|
|
|
2016-03-07 12:28:39 +01:00
|
|
|
clean:
|
2016-04-05 08:29:43 +02:00
|
|
|
rm -f *.aux *.bbl *.blg *.dvi *.log *.lol *.lot *.lof *.toc *.out *.synctex.gz *.bak
|
2016-03-07 12:28:39 +01:00
|
|
|
rm -f *.pdf
|