masterthesis/Makefile

57 lines
1.5 KiB
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-09-12 22:19:28 +02:00
SRV_DOC_NAME="SRV-DOC-Master"
2018-09-23 16:03:10 +02:00
CLNT_DOC_NAME="CLNT-DOC-Master"
2018-05-09 13:05:55 +02:00
LAST_EXPORT=`cat LAST_EXPORT`
2018-09-13 11:54:21 +02:00
default: cleanall render_ma render_ca_doc render_srv_doc
2018-09-03 10:45:10 +02:00
2018-09-12 12:54:05 +02:00
render_ma:
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:
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-09-12 22:19:28 +02:00
render_srv_doc:
pdflatex -output-directory build ${SRV_DOC_NAME}.tex
#bibtex build/${SRV_DOC_NAME}
#pdflatex -output-directory build ${SRV_DOC_NAME}.tex
pdflatex -output-directory build ${SRV_DOC_NAME}.tex
2018-09-23 16:03:10 +02:00
render_clnt_doc:
pdflatex -output-directory build ${CLNT_DOC_NAME}.tex
#bibtex build/${CLNT_DOC_NAME}
#pdflatex -output-directory build ${CLNT_DOC_NAME}.tex
pdflatex -output-directory build ${CLNT_DOC_NAME}.tex
2018-05-09 13:05:55 +02:00
clean:
2018-09-13 14:40:13 +02:00
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc *.synctex.gz; exit 0;
2018-09-03 10:45:10 +02:00
cleanall:
2018-09-12 17:01:15 +02:00
rm -rfv build; mkdir build
2018-05-09 13:27:22 +02:00
2018-09-12 22:19:28 +02:00
viewer_ma:
okular build/${MA_NAME}.pdf
viewer_ca_doc:
okular build/${CA_DOC_NAME}.pdf
viewer_srv_doc:
okular build/${SRV_DOC_NAME}.pdf
2018-09-03 10:36:31 +02:00
2018-09-23 16:03:10 +02:00
viewer_clnt_doc:
okular build/${CLNT_DOC_NAME}.pdf
show_all: cleanall render_ma render_ca_doc render_srv_doc viewer_ma viewer_ca_doc viewer_srv_doc viewer_clnt_doc
2018-09-03 10:45:10 +02:00
2018-09-23 16:03:10 +02:00
release: cleanall render_ma render_ca_doc render_srv_doc render_clnt_doc clean