Add new document and Makefile target to build print version bundle

This commit is contained in:
Jan Philipp Timme 2018-09-24 16:34:02 +02:00
parent bbfa93f16a
commit 36af227aec
2 changed files with 35 additions and 1 deletions

27
FULL-BUNDLE.tex Normal file
View File

@ -0,0 +1,27 @@
\documentclass{book}
% This packages does all the magic
\usepackage{pdfpages}
% Drop pagenumbers
\pagenumbering{gobble}
% Let's merge a bunch of documents
\begin{document}
% Masterarbeit
\includepdf[pages=-]{build/MA-Master.pdf}
% Clientdokumentation
\cleardoublepage % Make sure we clear to an odd page
\includepdf[pages=-]{build/CLNT-DOC-Master.pdf}
% CA-Dokumentation
\cleardoublepage
\includepdf[pages=-]{build/CA-DOC-Master.pdf}
% Serverdokumentation
\cleardoublepage
\includepdf[pages=-]{build/SRV-DOC-Master.pdf}
\end{document}

View File

@ -12,13 +12,16 @@ SRV_DOC_NAME_FINAL="Serverdokumentation IPv6-VPN"
CLNT_DOC_NAME="CLNT-DOC-Master" CLNT_DOC_NAME="CLNT-DOC-Master"
CLNT_DOC_NAME_FINAL="Benutzeranleitung IPv6-VPN" CLNT_DOC_NAME_FINAL="Benutzeranleitung IPv6-VPN"
FULL_BUNDLE_NAME="FULL-BUNDLE"
FULL_BUNDLE_NAME_FINAL="Druckversion Masterarbeit Konzeption und Umsetzung IPv6-VPN"
LAST_EXPORT=`cat LAST_EXPORT` LAST_EXPORT=`cat LAST_EXPORT`
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
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_full_bundle_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_all_html: render_ma_html render_ca_doc_html render_srv_doc_html render_clnt_doc_html
@ -82,6 +85,10 @@ render_clnt_doc_pdf:
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:
pdflatex -output-directory build ${FULL_BUNDLE_NAME}.tex
cp build/${FULL_BUNDLE_NAME}.pdf release/${FULL_BUNDLE_NAME_FINAL}.pdf
view_all: viewer_ma viewer_ca_doc viewer_srv_doc viewer_clnt_doc view_all: viewer_ma viewer_ca_doc viewer_srv_doc viewer_clnt_doc