aboutsummaryrefslogtreecommitdiffstats
path: root/buch/Makefile
blob: 3f2515fc4ffdcdee7b852e79df91a9fc24fbeb89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# 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-20 \
		../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

#
# Errata
#
errata.pdf:	errata.tex
	pdflatex errata.tex