]> git.deb.at Git - debienna.git/blobdiff - LinuxWochenPoster/Makefile
ein poster fuer den linuxwochenstand
[debienna.git] / LinuxWochenPoster / Makefile
diff --git a/LinuxWochenPoster/Makefile b/LinuxWochenPoster/Makefile
new file mode 100644 (file)
index 0000000..7ea295e
--- /dev/null
@@ -0,0 +1,12 @@
+all: poster.pdf poster-upperhalf.pdf poster-lowerhalf.pdf
+
+%.pdf: %.svg
+       inkscape -A $@ $<
+
+# those serve more as reminders to what doesn't work, for neither actually produces the expected result
+
+%-upperhalf.pdf: %.svg
+       inkscape --export-area=`inkscape -S $< |grep upperhalf | tr ',' ':' |cut -d: -f2-` -A $@ $<
+
+%-lowerhalf.pdf: %.svg
+       inkscape -i lowerhalf -A $@ $<