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"
|
2018-09-24 13:59:57 +02:00
|
|
|
MA_NAME_FINAL="Masterarbeit Konzeption und Umsetzung IPv6-VPN"
|
|
|
|
|
2018-09-12 13:04:23 +02:00
|
|
|
CA_DOC_NAME="CA-DOC-Master"
|
2018-09-24 13:59:57 +02:00
|
|
|
CA_DOC_NAME_FINAL="Dokumentation CA IPv6-VPN"
|
|
|
|
|
2018-09-12 22:19:28 +02:00
|
|
|
SRV_DOC_NAME="SRV-DOC-Master"
|
2018-09-24 13:59:57 +02:00
|
|
|
SRV_DOC_NAME_FINAL="Serverdokumentation IPv6-VPN"
|
|
|
|
|
2018-09-23 16:03:10 +02:00
|
|
|
CLNT_DOC_NAME="CLNT-DOC-Master"
|
2018-09-24 13:59:57 +02:00
|
|
|
CLNT_DOC_NAME_FINAL="Benutzeranleitung IPv6-VPN"
|
2018-09-12 13:04:23 +02:00
|
|
|
|
2018-05-09 13:05:55 +02:00
|
|
|
LAST_EXPORT=`cat LAST_EXPORT`
|
|
|
|
|
2018-09-24 14:16:30 +02:00
|
|
|
default: cleanall render_all
|
|
|
|
|
|
|
|
|
|
|
|
render_all: render_ma render_ca_doc render_srv_doc render_clnt_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-09-24 13:59:57 +02:00
|
|
|
cp build/${MA_NAME}.pdf release/${MA_NAME_FINAL}.pdf
|
2018-05-09 13:05:55 +02:00
|
|
|
|
2018-09-12 13:04:23 +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-24 13:59:57 +02:00
|
|
|
cp build/${CA_DOC_NAME}.pdf release/${CA_DOC_NAME_FINAL}.pdf
|
2018-09-12 13:04:23 +02:00
|
|
|
|
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-24 13:59:57 +02:00
|
|
|
cp build/${SRV_DOC_NAME}.pdf release/${SRV_DOC_NAME_FINAL}.pdf
|
2018-09-12 22:19:28 +02:00
|
|
|
|
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-09-24 13:59:57 +02:00
|
|
|
cp build/${CLNT_DOC_NAME}.pdf release/${CLNT_DOC_NAME_FINAL}.pdf
|
2018-09-23 16:03:10 +02:00
|
|
|
|
2018-09-03 10:45:10 +02:00
|
|
|
|
2018-09-24 14:16:30 +02:00
|
|
|
view_all: viewer_ma viewer_ca_doc viewer_srv_doc viewer_clnt_doc
|
2018-05-09 13:27:22 +02:00
|
|
|
|
2018-09-12 22:19:28 +02:00
|
|
|
viewer_ma:
|
2018-09-24 14:16:30 +02:00
|
|
|
okular build/${MA_NAME}.pdf &
|
2018-09-12 22:19:28 +02:00
|
|
|
|
|
|
|
viewer_ca_doc:
|
2018-09-24 14:16:30 +02:00
|
|
|
okular build/${CA_DOC_NAME}.pdf &
|
2018-09-12 22:19:28 +02:00
|
|
|
|
|
|
|
viewer_srv_doc:
|
2018-09-24 14:16:30 +02:00
|
|
|
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:
|
2018-09-24 14:16:30 +02:00
|
|
|
okular build/${CLNT_DOC_NAME}.pdf &
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc *.synctex.gz; exit 0;
|
|
|
|
|
|
|
|
cleanall:
|
|
|
|
rm -rfv build; mkdir build
|
|
|
|
rm -rfv release; mkdir release
|
2018-09-23 16:03:10 +02:00
|
|
|
|
2018-09-24 14:16:30 +02:00
|
|
|
show_all: cleanall render_all view_all
|
2018-09-03 10:45:10 +02:00
|
|
|
|
2018-09-24 14:16:30 +02:00
|
|
|
release: cleanall render_all clean
|