.PHONY: default MA_NAME="MA-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 clean: cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc cleanall: rm -rfv build viewer: okular build/${NAME}.pdf show: cleanall render_ma viewer release: cleanall render_ma clean