masterthesis/Makefile

36 lines
759 B
Makefile
Raw Normal View History

2018-09-03 10:45:10 +02:00
.PHONY: default
2018-05-09 13:05:55 +02:00
2018-09-12 12:54:05 +02:00
MA_NAME="MA-Master"
CA_DOC_NAME="CA-DOC-Master"
2018-05-09 13:05:55 +02:00
LAST_EXPORT=`cat LAST_EXPORT`
2018-09-12 12:54:05 +02:00
default: cleanall render_ma
2018-09-03 10:45:10 +02:00
2018-09-12 12:54:05 +02:00
render_ma:
2018-05-09 13:27:22 +02:00
mkdir build
2018-09-12 12:54:05 +02:00
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
2018-05-09 13:05:55 +02:00
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
2018-05-09 13:05:55 +02:00
clean:
2018-09-03 10:45:10 +02:00
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc
cleanall:
2018-05-09 13:27:22 +02:00
rm -rfv build
2018-09-03 10:45:10 +02:00
viewer:
2018-05-09 13:27:22 +02:00
okular build/${NAME}.pdf
2018-09-03 10:36:31 +02:00
show: cleanall render_ma render_ca_doc viewer
2018-09-03 10:45:10 +02:00
release: cleanall render_ma render_ca_doc clean