Directly export PDFs from DOT graphs.

This commit is contained in:
Florian Pose 2013-02-08 20:00:16 +01:00
parent c5ad89c1f8
commit dda40578ce
1 changed files with 3 additions and 9 deletions

View File

@ -18,7 +18,6 @@ GRAPHS := \
#-----------------------------------------------------------------------------
PS = $(addsuffix .ps,$(GRAPHS))
PDF = $(addsuffix .pdf,$(GRAPHS))
#-----------------------------------------------------------------------------
@ -27,15 +26,10 @@ all: pdf
pdf: $(PDF)
ps: $(PS)
%.ps: %.dot
dot -Tps -o $@ $<
%.pdf: %.ps
ps2pdf $<
%.pdf: %.dot
dot -Tpdf -o $@ $<
clean:
@rm -f *.ps *.pdf
@rm -f *.pdf
#-----------------------------------------------------------------------------