More restructuring

This commit is contained in:
Jan Philipp Timme 2018-09-12 12:54:05 +02:00
parent 017ddc7fac
commit de00bdefce
2 changed files with 9 additions and 9 deletions

View File

@ -1,16 +1,16 @@
.PHONY: default
NAME=Masterarbeit
MA_NAME="MA-Master"
LAST_EXPORT=`cat LAST_EXPORT`
default: cleanall render
default: cleanall render_ma
render:
render_ma:
mkdir build
pdflatex -output-directory build ${NAME}.tex
bibtex build/${NAME}
pdflatex -output-directory build ${NAME}.tex
pdflatex -output-directory build ${NAME}.tex
pdflatex -output-directory build ${MA_NAME}.tex
bibtex build/${MA_NAME}
pdflatex -output-directory build ${MA_NAME}.tex
pdflatex -output-directory build ${MA_NAME}.tex
clean:
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc
@ -21,6 +21,6 @@ cleanall:
viewer:
okular build/${NAME}.pdf
show: cleanall render viewer
show: cleanall render_ma viewer
release: cleanall render clean
release: cleanall render_ma clean