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-12 13:04:23 +02:00
|
|
|
CA_DOC_NAME="CA-DOC-Master"
|
2018-09-12 22:19:28 +02:00
|
|
|
SRV_DOC_NAME="SRV-DOC-Master"
|
2018-09-12 13:04:23 +02:00
|
|
|
|
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
|
|
|
|
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-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-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-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-13 11:54:21 +02:00
|
|
|
show_all: cleanall render_ma render_ca_doc render_srv_doc viewer_ma viewer_ca_doc viewer_srv_doc
|
2018-09-03 10:45:10 +02:00
|
|
|
|
2018-09-12 22:19:28 +02:00
|
|
|
release: cleanall render_ma render_ca_doc render_srv_doc clean
|