aboutsummaryrefslogtreecommitdiffstats
path: root/vorlesungen/slides/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vorlesungen/slides/Makefile')
-rw-r--r--vorlesungen/slides/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/vorlesungen/slides/Makefile b/vorlesungen/slides/Makefile
new file mode 100644
index 0000000..e48b3ed
--- /dev/null
+++ b/vorlesungen/slides/Makefile
@@ -0,0 +1,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
+