.PHONY: default MA_NAME="MA-Master" CA_DOC_NAME="CA-DOC-Master" LAST_EXPORT=`cat LAST_EXPORT` default: cleanall render_ma render_ma: mkdir build 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 render_ca_doc: mkdir build pdflatex -output-directory build ${CA_DOC_NAME}.tex #bibtex build/${CA_DOC_NAME} #pdflatex -output-directory build ${CA_DOC_NAME}.tex pdflatex -output-directory build ${CA_DOC_NAME}.tex clean: cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc cleanall: rm -rfv build viewer: okular build/${NAME}.pdf show: cleanall render_ma render_ca_doc viewer release: cleanall render_ma render_ca_doc clean