aboutsummaryrefslogtreecommitdiffstats
path: root/cover/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cover/Makefile')
-rw-r--r--cover/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/cover/Makefile b/cover/Makefile
new file mode 100644
index 0000000..c23a70f
--- /dev/null
+++ b/cover/Makefile
@@ -0,0 +1,19 @@
+#
+# Makefile -- build the book cover
+#
+# (c) 2018 Prof Dr Andreas Müller, Hochschule Rapperswil
+#
+all: buchcover.png front.pdf back.pdf
+
+buchcover.pdf: buchcover.tex
+ pdflatex buchcover.tex
+
+buchcover.png: buchcover.pdf
+ convert -density 300 -extract 1966x2900+2630+190 buchcover.pdf \
+ buchcover.png
+
+front.pdf: front.tex buchcover.pdf
+ pdflatex front.tex
+
+back.pdf: back.tex buchcover.pdf
+ pdflatex back.tex