Auto-generate architecture pdf.

This commit is contained in:
Florian Pose 2010-01-13 15:37:09 +01:00
parent a364c42fc9
commit 305ee1378d
1 changed files with 11 additions and 3 deletions

View File

@ -17,14 +17,22 @@ FIGS := \
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)
#-----------------------------------------------------------------------------