.PHONY: clean, render NAME=Bachelorarbeit LAST_EXPORT=`cat LAST_EXPORT` render: pdflatex ${NAME}.tex bibtex ${NAME} pdflatex ${NAME}.tex pdflatex ${NAME}.tex diff: git-latexdiff $(LAST_EXPORT) -- --main Bachelorarbeit.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