]> granicus.if.org Git - graphviz/commitdiff
Use pdflatex directly
authorEmden Gansner <erg@research.att.com>
Thu, 28 Feb 2013 16:28:33 +0000 (11:28 -0500)
committerEmden Gansner <erg@research.att.com>
Thu, 28 Feb 2013 16:28:33 +0000 (11:28 -0500)
doc/libgraph/Makefile

index 4fba23ed24048231a4b021e69fb127e22e6cb97a..f551a9ce8f2a44868011a86392a09fe239f5c0d8 100644 (file)
@@ -7,8 +7,9 @@ all : Agraph.pdf
 %.pdf : %.dot
        dot -Tps2 $< | epstopdf --filter --outfile=$@
 
-Agraph.pdf : Agraph.ps
-       ps2pdf Agraph.ps Agraph.pdf
+Agraph.pdf : Agraph.tex
+       $(PTEX) Agraph.tex
+       @if grep "Label(s) may have changed" Agraph.log; then $(PTEX) Agraph.tex; fi
 
 Agraph.ps : Agraph.dvi 
        @if grep "Label(s) may have changed" Agraph.log; then $(TEX) Agraph.tex; fi