Add uncommited Makefile
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Jan 2011 12:33:42 +0000 (13:33 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Jan 2011 12:33:42 +0000 (13:33 +0100)
doc/Makefile [new file with mode: 0644]

diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644 (file)
index 0000000..2c2d9b1
--- /dev/null
@@ -0,0 +1,20 @@
+all: configuration1.png configuration2.png gw-signle.png gw-multi.pdf gw-multi-mod.pdf
+
+%.png: %.txt
+       java -jar ~/opt/ditaa/ditaa0_9.jar -r $< $@
+
+%.png: %.svg
+       inkscape --export-area-drawing --export-png=$@ --export-background-opacity=1.0 $<
+
+%.ps: %.svg
+       inkscape --export-ps=$@ $<
+
+%-page.pdf: %.svg
+       inkscape --export-pdf=$@ $<
+
+%-page.pdf: %.ps
+       ps2pdf $< $@
+
+%.pdf: %-page.pdf
+       pdfcrop $< $@
+