From 4752a00668c8de082d467bbdb8ba47f3cb0091b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 4 Jun 2021 16:46:46 +0200 Subject: add basic file infrastructure for special function book --- buch/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 buch/Makefile (limited to 'buch/Makefile') diff --git a/buch/Makefile b/buch/Makefile new file mode 100755 index 0000000..727c7c7 --- /dev/null +++ b/buch/Makefile @@ -0,0 +1,50 @@ +# +# Makefile zum Skript ueber Spezielle Funktionen +# +# (c) 2021 Prof Dr Andreas Mueller, OST Ostschweizer Fachhochschule +# +all: buch.pdf + +papers/common/Makefile.inc: papers/common/paperlist + +include common/Makefile.inc +include chapters/Makefile.inc +include papers/common/Makefile.inc +include papers/common/includes.inc + +ALLTEXFILES = $(TEXFILES) $(CHAPTERFILES) + +buch.pdf: buch.tex $(TEXFILES) buch.ind $(BLXFILES) + pdflatex buch.tex + bibtex buch + +buch.idx: buch.tex $(TEXFILES) images + touch buch.ind + pdflatex buch.tex + +buch.ind: buch.idx + makeindex buch.idx + +separate: buch.aux buch.pdf + bash splitpapers + +speziellefunktionen.pdf: + pdfjam --outfile speziellefunktionen.pdf \ + ../cover/front.pdf 1,{} \ + buch.pdf 1-504 \ + ../cover/back.pdf {},1 + +# +# This Makefile can also construct the short tests +# +tests: test1.pdf test2.pdf test3.pdf + +test1.pdf: common/test-common.tex common/test1.tex aufgaben1.tex + pdflatex common/test1.tex + +test2.pdf: common/test-common.tex common/test1.tex aufgaben2.tex + pdflatex common/test2.tex + +test3.pdf: common/test-common.tex common/test1.tex aufgaben3.tex + pdflatex common/test3.tex + -- cgit v1.2.1