From 36af227aec1737cceda61c777279067d11f00c4b Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Mon, 24 Sep 2018 16:34:02 +0200 Subject: [PATCH] Add new document and Makefile target to build print version bundle --- FULL-BUNDLE.tex | 27 +++++++++++++++++++++++++++ Makefile | 9 ++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 FULL-BUNDLE.tex diff --git a/FULL-BUNDLE.tex b/FULL-BUNDLE.tex new file mode 100644 index 0000000..6fbac7a --- /dev/null +++ b/FULL-BUNDLE.tex @@ -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} \ No newline at end of file diff --git a/Makefile b/Makefile index 3a4115b..adeeef7 100644 --- a/Makefile +++ b/Makefile @@ -12,13 +12,16 @@ SRV_DOC_NAME_FINAL="Serverdokumentation IPv6-VPN" CLNT_DOC_NAME="CLNT-DOC-Master" 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` default: cleanall render_all 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_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 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