57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
.PHONY: default
|
|
|
|
MA_NAME="MA-Master"
|
|
CA_DOC_NAME="CA-DOC-Master"
|
|
SRV_DOC_NAME="SRV-DOC-Master"
|
|
CLNT_DOC_NAME="CLNT-DOC-Master"
|
|
|
|
LAST_EXPORT=`cat LAST_EXPORT`
|
|
|
|
default: cleanall render_ma render_ca_doc render_srv_doc render_clnt_doc
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
clean:
|
|
cd build; rm -v *.aux *.bbl *.blg *.log *.out *.toc *.synctex.gz; exit 0;
|
|
|
|
cleanall:
|
|
rm -rfv build; mkdir build
|
|
|
|
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
|
|
|
|
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
|
|
|
|
release: cleanall render_ma render_ca_doc render_srv_doc render_clnt_doc clean
|