Directly export PDFs from DOT graphs. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Fri, 08 Feb 2013 20:00:16 +0100
branchstable-1.5
changeset 2512 a01947bc9ab6
parent 2511 cb03c618a9e2
child 2513 e60c68f33e4f
Directly export PDFs from DOT graphs.
documentation/graphs/Makefile
--- a/documentation/graphs/Makefile	Thu Feb 07 18:19:13 2013 +0100
+++ b/documentation/graphs/Makefile	Fri Feb 08 20:00:16 2013 +0100
@@ -18,7 +18,6 @@
 
 #-----------------------------------------------------------------------------
 
-PS = $(addsuffix .ps,$(GRAPHS))
 PDF = $(addsuffix .pdf,$(GRAPHS))
 
 #-----------------------------------------------------------------------------
@@ -27,15 +26,10 @@
 
 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
 
 #-----------------------------------------------------------------------------