From 2a617660daa5b89a7ed5d23e7a10085171e1be05 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 6 Jan 2011 13:33:42 +0100 Subject: [PATCH] Add uncommited Makefile --- doc/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/Makefile diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..2c2d9b1 --- /dev/null +++ b/doc/Makefile @@ -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 $< $@ + -- 2.39.2