diff --git a/Makefile b/Makefile index 6dd6ae6..8e55a14 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .PHONY: clean, render NAME=Bachelorarbeit +LAST_EXPORT=`cat LAST_EXPORT` render: pdflatex ${NAME}.tex @@ -8,6 +9,9 @@ render: 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