documentation/images/Makefile
changeset 1777 a93fc03eeb06
parent 1771 7183fe5f27fa
--- a/documentation/images/Makefile	Tue Jan 19 19:31:55 2010 +0100
+++ b/documentation/images/Makefile	Tue Jan 19 19:33:47 2010 +0100
@@ -6,7 +6,6 @@
 
 FIGS := \
 	app-config.fig \
-	architecture.fig \
 	attach.fig \
 	dc.fig \
 	fmmus.fig \
@@ -18,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)
 
 #-----------------------------------------------------------------------------