[TASK] Add diff command to Makefile.

This commit is contained in:
Jan Philipp Timme 2016-07-09 14:19:51 +02:00
parent 4b17472486
commit 45f63fd37f
1 changed files with 4 additions and 0 deletions

View File

@ -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