Auto-generate architecture pdf.
authorFlorian Pose <fp@igh-essen.com>
Wed, 13 Jan 2010 15:37:09 +0100
changeset 1771 7183fe5f27fa
parent 1770 9550d9386f46
child 1772 b4c85bedd68f
Auto-generate architecture pdf.
documentation/images/Makefile
--- a/documentation/images/Makefile	Wed Jan 13 08:48:37 2010 +0100
+++ b/documentation/images/Makefile	Wed Jan 13 15:37:09 2010 +0100
@@ -17,14 +17,22 @@
 	phases.fig \
 	statetrans.fig
 
-PDFS = $(FIGS:.fig=.pdf)
+FIGPDFS = $(FIGS:.fig=.pdf)
 
-all: $(PDFS)
+SVGS := \
+	architecture.svg
+
+SVGPDFS = $(SVGS:.svg=.pdf)
+
+all: $(FIGPDFS) $(SVGPDFS)
 
 %.pdf: %.fig
 	fig2dev -L pdf -z A4 -p xxx -c $< $@	
 
+%.pdf: %.svg
+	inkscape --export-pdf=$@ $<
+
 clean:
-	@rm -rv $(PDFS)
+	@rm -rv $(FIGPDFS) $(SVGPDFS)
 
 #-----------------------------------------------------------------------------