masterthesis/Makefile

21 lines
410 B
Makefile
Raw Normal View History

2018-05-09 13:05:55 +02:00
.PHONY: clean, render
NAME=Masterarbeit
LAST_EXPORT=`cat LAST_EXPORT`
render:
2018-05-09 13:27:22 +02:00
mkdir build
pdflatex -output-directory build ${NAME}.tex
bibtex build/${NAME}
pdflatex -output-directory build ${NAME}.tex
pdflatex -output-directory build ${NAME}.tex
2018-05-09 13:05:55 +02:00
diff:
2018-05-09 13:27:22 +02:00
cd build; git-latexdiff $(LAST_EXPORT) -- --main ${NAME}.tex --no-flatten -o diff.pdf; cd ..
2018-05-09 13:05:55 +02:00
clean:
2018-05-09 13:27:22 +02:00
rm -rfv build
show:
okular build/${NAME}.pdf