Use pandoc to generate html, too

This commit is contained in:
Jan Philipp Timme 2018-09-24 15:13:00 +02:00
parent b7044a9d2c
commit b4d9bae111
1 changed files with 18 additions and 2 deletions

View File

@ -16,16 +16,20 @@ LAST_EXPORT=`cat LAST_EXPORT`
default: cleanall render_all default: cleanall render_all
render_all: render_all_md render_all_pdf render_all: render_all_md render_all_html render_all_pdf
render_all_pdf: render_ma_pdf render_ca_doc_pdf render_srv_doc_pdf render_clnt_doc_pdf render_all_pdf: render_ma_pdf render_ca_doc_pdf render_srv_doc_pdf render_clnt_doc_pdf
render_all_md: render_ma_md render_ca_doc_md render_srv_doc_md render_clnt_doc_md render_all_md: render_ma_md render_ca_doc_md render_srv_doc_md render_clnt_doc_md
render_all_html: render_ma_html render_ca_doc_html render_srv_doc_html render_clnt_doc_html
render_ma_md: render_ma_md:
pandoc -s ${MA_NAME}.tex -o build/${MA_NAME}.md pandoc -s ${MA_NAME}.tex -o build/${MA_NAME}.md
cp build/${MA_NAME}.md release/${MA_NAME_FINAL}.md cp build/${MA_NAME}.md release/${MA_NAME_FINAL}.md
render_ma_html:
pandoc -s ${MA_NAME}.tex -o build/${MA_NAME}.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 -output-directory build ${MA_NAME}.tex
bibtex build/${MA_NAME} bibtex build/${MA_NAME}
@ -37,6 +41,10 @@ render_ca_doc_md:
pandoc -s ${CA_DOC_NAME}.tex -o build/${CA_DOC_NAME}.md pandoc -s ${CA_DOC_NAME}.tex -o build/${CA_DOC_NAME}.md
cp build/${CA_DOC_NAME}.md release/${CA_DOC_NAME_FINAL}.md cp build/${CA_DOC_NAME}.md release/${CA_DOC_NAME_FINAL}.md
render_ca_doc_html:
pandoc -s ${CA_DOC_NAME}.tex -o build/${CA_DOC_NAME}.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 -output-directory build ${CA_DOC_NAME}.tex
#bibtex build/${CA_DOC_NAME} #bibtex build/${CA_DOC_NAME}
@ -48,6 +56,10 @@ render_srv_doc_md:
pandoc -s ${SRV_DOC_NAME}.tex -o build/${SRV_DOC_NAME}.md pandoc -s ${SRV_DOC_NAME}.tex -o build/${SRV_DOC_NAME}.md
cp build/${SRV_DOC_NAME}.md release/${SRV_DOC_NAME_FINAL}.md cp build/${SRV_DOC_NAME}.md release/${SRV_DOC_NAME_FINAL}.md
render_srv_doc_html:
pandoc -s ${SRV_DOC_NAME}.tex -o build/${SRV_DOC_NAME}.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 -output-directory build ${SRV_DOC_NAME}.tex
#bibtex build/${SRV_DOC_NAME} #bibtex build/${SRV_DOC_NAME}
@ -59,6 +71,10 @@ render_clnt_doc_md:
pandoc -s ${CLNT_DOC_NAME}.tex -o build/${CLNT_DOC_NAME}.md pandoc -s ${CLNT_DOC_NAME}.tex -o build/${CLNT_DOC_NAME}.md
cp build/${CLNT_DOC_NAME}.md release/${CLNT_DOC_NAME_FINAL}.md cp build/${CLNT_DOC_NAME}.md release/${CLNT_DOC_NAME_FINAL}.md
render_clnt_doc_html:
pandoc -s ${CLNT_DOC_NAME}.tex -o build/${CLNT_DOC_NAME}.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 -output-directory build ${CLNT_DOC_NAME}.tex
#bibtex build/${CLNT_DOC_NAME} #bibtex build/${CLNT_DOC_NAME}