Try and improve Makefile
This commit is contained in:
parent
3660513a5b
commit
539c9ccb68
30
Makefile
30
Makefile
|
@ -17,6 +17,10 @@ FULL_BUNDLE_NAME_FINAL="Druckversion Masterarbeit Konzeption und Umsetzung IPv6-
|
||||||
|
|
||||||
LAST_EXPORT=`cat LAST_EXPORT`
|
LAST_EXPORT=`cat LAST_EXPORT`
|
||||||
|
|
||||||
|
# Custom command enhancements
|
||||||
|
PDFLATEX=pdflatex -shell-escape -interaction=nonstopmode -file-line-error -output-directory build
|
||||||
|
PDFLATEXGREP=| grep -q -i ".*:[0-9]*:.*\|warning"
|
||||||
|
|
||||||
default: cleanall render_all
|
default: cleanall render_all
|
||||||
|
|
||||||
render_all: render_all_md render_all_html render_all_pdf
|
render_all: render_all_md render_all_html render_all_pdf
|
||||||
|
@ -34,10 +38,10 @@ render_ma_html:
|
||||||
cp build/${MA_NAME}.html release/${MA_NAME_FINAL}.html
|
cp build/${MA_NAME}.html release/${MA_NAME_FINAL}.html
|
||||||
|
|
||||||
render_ma_pdf:
|
render_ma_pdf:
|
||||||
pdflatex -output-directory build ${MA_NAME}.tex
|
${PDFLATEX} ${MA_NAME}.tex ${PDFLATEXGREP}
|
||||||
bibtex build/${MA_NAME}
|
bibtex build/${MA_NAME}
|
||||||
pdflatex -output-directory build ${MA_NAME}.tex
|
${PDFLATEX} ${MA_NAME}.tex ${PDFLATEXGREP}
|
||||||
pdflatex -output-directory build ${MA_NAME}.tex
|
${PDFLATEX} ${MA_NAME}.tex ${PDFLATEXGREP}
|
||||||
cp build/${MA_NAME}.pdf release/${MA_NAME_FINAL}.pdf
|
cp build/${MA_NAME}.pdf release/${MA_NAME_FINAL}.pdf
|
||||||
|
|
||||||
render_ca_doc_md:
|
render_ca_doc_md:
|
||||||
|
@ -49,10 +53,8 @@ render_ca_doc_html:
|
||||||
cp build/${CA_DOC_NAME}.html release/${CA_DOC_NAME_FINAL}.html
|
cp build/${CA_DOC_NAME}.html release/${CA_DOC_NAME_FINAL}.html
|
||||||
|
|
||||||
render_ca_doc_pdf:
|
render_ca_doc_pdf:
|
||||||
pdflatex -output-directory build ${CA_DOC_NAME}.tex
|
${PDFLATEX} ${CA_DOC_NAME}.tex ${PDFLATEXGREP}
|
||||||
#bibtex build/${CA_DOC_NAME}
|
${PDFLATEX} ${CA_DOC_NAME}.tex ${PDFLATEXGREP}
|
||||||
#pdflatex -output-directory build ${CA_DOC_NAME}.tex
|
|
||||||
pdflatex -output-directory build ${CA_DOC_NAME}.tex
|
|
||||||
cp build/${CA_DOC_NAME}.pdf release/${CA_DOC_NAME_FINAL}.pdf
|
cp build/${CA_DOC_NAME}.pdf release/${CA_DOC_NAME_FINAL}.pdf
|
||||||
|
|
||||||
render_srv_doc_md:
|
render_srv_doc_md:
|
||||||
|
@ -64,10 +66,8 @@ render_srv_doc_html:
|
||||||
cp build/${SRV_DOC_NAME}.html release/${SRV_DOC_NAME_FINAL}.html
|
cp build/${SRV_DOC_NAME}.html release/${SRV_DOC_NAME_FINAL}.html
|
||||||
|
|
||||||
render_srv_doc_pdf:
|
render_srv_doc_pdf:
|
||||||
pdflatex -output-directory build ${SRV_DOC_NAME}.tex
|
${PDFLATEX} ${SRV_DOC_NAME}.tex ${PDFLATEXGREP}
|
||||||
#bibtex build/${SRV_DOC_NAME}
|
${PDFLATEX} ${SRV_DOC_NAME}.tex ${PDFLATEXGREP}
|
||||||
#pdflatex -output-directory build ${SRV_DOC_NAME}.tex
|
|
||||||
pdflatex -output-directory build ${SRV_DOC_NAME}.tex
|
|
||||||
cp build/${SRV_DOC_NAME}.pdf release/${SRV_DOC_NAME_FINAL}.pdf
|
cp build/${SRV_DOC_NAME}.pdf release/${SRV_DOC_NAME_FINAL}.pdf
|
||||||
|
|
||||||
render_clnt_doc_md:
|
render_clnt_doc_md:
|
||||||
|
@ -79,14 +79,12 @@ render_clnt_doc_html:
|
||||||
cp build/${CLNT_DOC_NAME}.html release/${CLNT_DOC_NAME_FINAL}.html
|
cp build/${CLNT_DOC_NAME}.html release/${CLNT_DOC_NAME_FINAL}.html
|
||||||
|
|
||||||
render_clnt_doc_pdf:
|
render_clnt_doc_pdf:
|
||||||
pdflatex -output-directory build ${CLNT_DOC_NAME}.tex
|
${PDFLATEX} ${CLNT_DOC_NAME}.tex ${PDFLATEXGREP}
|
||||||
#bibtex build/${CLNT_DOC_NAME}
|
${PDFLATEX} ${CLNT_DOC_NAME}.tex ${PDFLATEXGREP}
|
||||||
#pdflatex -output-directory build ${CLNT_DOC_NAME}.tex
|
|
||||||
pdflatex -output-directory build ${CLNT_DOC_NAME}.tex
|
|
||||||
cp build/${CLNT_DOC_NAME}.pdf release/${CLNT_DOC_NAME_FINAL}.pdf
|
cp build/${CLNT_DOC_NAME}.pdf release/${CLNT_DOC_NAME_FINAL}.pdf
|
||||||
|
|
||||||
render_full_bundle_pdf:
|
render_full_bundle_pdf:
|
||||||
pdflatex -output-directory build ${FULL_BUNDLE_NAME}.tex
|
${PDFLATEX} ${FULL_BUNDLE_NAME}.tex ${PDFLATEXGREP}
|
||||||
cp build/${FULL_BUNDLE_NAME}.pdf release/${FULL_BUNDLE_NAME_FINAL}.pdf
|
cp build/${FULL_BUNDLE_NAME}.pdf release/${FULL_BUNDLE_NAME_FINAL}.pdf
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue