aboutsummaryrefslogtreecommitdiffstats
path: root/cover/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cover/Makefile')
-rw-r--r--cover/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/cover/Makefile b/cover/Makefile
new file mode 100644
index 0000000..76ae56f
--- /dev/null
+++ b/cover/Makefile
@@ -0,0 +1,22 @@
+#
+# 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 Makefile
+ convert -density 300 -extract 1966x2900+2630+190 buchcover.pdf \
+ buchcover.png
+
+nozzle.jpg: nozzle.png
+ convert nozzle.png -density 300 -units PixelsPerInch -flop nozzle.jpg
+
+front.pdf: front.tex buchcover.pdf
+ pdflatex front.tex
+
+back.pdf: back.tex buchcover.pdf
+ pdflatex back.tex