aboutsummaryrefslogtreecommitdiffstats
path: root/vorlesungen/slides/Makefile
blob: e48b3edd6ff84aef8aa5a53beb0716c8867c68cb (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
#
# Makefile -- build the slide collection
#
# (c) 2019 Prof Dr Andreas Müller, Hochschule Rapeprswil
#
test:	test-handout.pdf test-presentation.pdf

slides:	slides-handout.pdf slides-presentation.pdf

include Makefile.inc

files = common.tex $(slides)

catalog:	slides-catalog.pdf
presentation:	slides-presentation.pdf
handout:	slides-handout.pdf

slides-handout.pdf:	slides-handout.tex slides.tex $(files)
	pdflatex slides-handout.tex

slides-catalog.pdf:	slides-handout.pdf
	pdfjam --outfile slides-catalog.pdf \
		--paper a4paper --nup 2x5 \
		slides-handout.pdf 

slides-presentation.pdf:	slides-presentation.tex slides.tex $(files)
	pdflatex slides-presentation.tex

test-handout.pdf:	test-handout.tex test.tex $(files)
	pdflatex test-handout.tex

test-presentation.pdf:	test-presentation.tex test.tex $(files)
	pdflatex test-presentation.tex