summaryrefslogtreecommitdiffstats
path: root/standorte/mercator/Makefile
diff options
context:
space:
mode:
authorDaniel Ehlers <danielehlers@mindeye.net>2018-01-12 22:51:57 +0100
committerDaniel Ehlers <danielehlers@mindeye.net>2018-01-12 22:51:57 +0100
commitfd699f20a618c694710334059f205d181a097f7b (patch)
tree2294379dbdc6b0c8919c6fd6c429ac7909d6b572 /standorte/mercator/Makefile
parent79018bfc929ad06baee8b8569facb4f01c9f44c0 (diff)
Improve makefile
Diffstat (limited to 'standorte/mercator/Makefile')
-rw-r--r--standorte/mercator/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/standorte/mercator/Makefile b/standorte/mercator/Makefile
index 2eec423..caf74b1 100644
--- a/standorte/mercator/Makefile
+++ b/standorte/mercator/Makefile
@@ -1,6 +1,9 @@
-all:
- inkscape -D -z --file=mercator-calculations.svg --export-pdf=mercator-calculations.pdf --export-latex
- inkscape -D -z --file=mercator-dach.svg --export-pdf=mercator-dach.pdf --export-latex
+.SUFFIXES: .svg .pdf
+
+.svg.pdf: $<
+ inkscape -D -z --file=$< --export-pdf=$@ --export-latex
+
+all: mercator-calculations.pdf mercator-dach.pdf
gnuplot mast.plot
pdflatex antrag.tex
pdflatex antrag.tex