[TASK] Add diff command to Makefile.
This commit is contained in:
parent
4b17472486
commit
45f63fd37f
4
Makefile
4
Makefile
@ -1,6 +1,7 @@
|
|||||||
.PHONY: clean, render
|
.PHONY: clean, render
|
||||||
|
|
||||||
NAME=Bachelorarbeit
|
NAME=Bachelorarbeit
|
||||||
|
LAST_EXPORT=`cat LAST_EXPORT`
|
||||||
|
|
||||||
render:
|
render:
|
||||||
pdflatex ${NAME}.tex
|
pdflatex ${NAME}.tex
|
||||||
@ -8,6 +9,9 @@ render:
|
|||||||
pdflatex ${NAME}.tex
|
pdflatex ${NAME}.tex
|
||||||
pdflatex ${NAME}.tex
|
pdflatex ${NAME}.tex
|
||||||
|
|
||||||
|
diff:
|
||||||
|
git-latexdiff $(LAST_EXPORT) -- --main Bachelorarbeit.tex --no-flatten -o diff.pdf
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.aux *.bbl *.blg *.dvi *.log *.lol *.lot *.lof *.toc *.out *.synctex.gz *.bak
|
rm -f *.aux *.bbl *.blg *.dvi *.log *.lol *.lot *.lof *.toc *.out *.synctex.gz *.bak
|
||||||
rm -f *.pdf
|
rm -f *.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user