From 45f63fd37f955e4888aebce5c847d078bfd721b9 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sat, 9 Jul 2016 14:19:51 +0200 Subject: [PATCH] [TASK] Add diff command to Makefile. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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