| 1 |
SHAPEFILES = \ |
| 2 |
Mcircle.pdf Mdiamond.pdf Mrecord.pdf Msquare.pdf \ |
| 3 |
box.pdf circle.pdf diamond.pdf doublecircle.pdf \ |
| 4 |
doubleoctagon.pdf egg.pdf ellipse.pdf hexagon.pdf \ |
| 5 |
house.pdf invhouse.pdf invtrapezium.pdf invtriangle.pdf none.pdf \ |
| 6 |
octagon.pdf parallelogram.pdf plaintext.pdf point.pdf \ |
| 7 |
polygon.pdf record.pdf record.pdf trapezium.pdf \ |
| 8 |
triangle.pdf tripleoctagon.pdf \ |
| 9 |
|
| 10 |
ARROWHEADFILES = \ |
| 11 |
normal.pdf diamondarrow.pdf dot.pdf odot.pdf \ |
| 12 |
inv.pdf invdot.pdf invodot.pdf \ |
| 13 |
crow.pdf vee.pdf tee.pdf \ |
| 14 |
boxarrow.pdf curve.pdf icurve.pdf \ |
| 15 |
no_arrow.pdf diamond.pdf |
| 16 |
|
| 17 |
GRAPHFILES = \ |
| 18 |
asde91.pdf \ |
| 19 |
clust1.pdf \ |
| 20 |
clust2.pdf \ |
| 21 |
compound.pdf \ |
| 22 |
fsm.pdf \ |
| 23 |
graph1.pdf \ |
| 24 |
graph2.pdf \ |
| 25 |
html.pdf \ |
| 26 |
hashtable.pdf \ |
| 27 |
poly.pdf \ |
| 28 |
recordex.pdf \ |
| 29 |
smlred.pdf \ |
| 30 |
structs.pdf \ |
| 31 |
tree.pdf \ |
| 32 |
$(SHAPEFILES) $(ARROWHEADFILES) |
| 33 |
|
| 34 |
# The following used to work, but it broke when graphviz -Tps went to |
| 35 |
# BoundingBox: (atend) as the epstopdf script explicitly says it does |
| 36 |
# not handle this case! Let's hope that we have native -Tpdf in dot. |
| 37 |
%.pdf : %.dot |
| 38 |
dot -Tps2 $< -o $<.ps; ps2pdf $<.ps $@ |
| 39 |
|
| 40 |
dotguide.pdf : dotguide.tex dotguide.bbl $(GRAPHFILES) |
| 41 |
pdflatex dotguide.tex |
| 42 |
@if grep "Label(s) may have changed" dotguide.log; then pdflatex dotguide.tex; fi |
| 43 |
|
| 44 |
dotguide.bbl : dotguide.tex ../dotguide/graphdraw.bib dotguide.aux |
| 45 |
bibtex dotguide |
| 46 |
|
| 47 |
dotguide.aux : dotguide.tex $(GRAPHFILES) |
| 48 |
pdflatex dotguide |
| 49 |
|
| 50 |
.PHONY: clean |
| 51 |
clean: |
| 52 |
rm -rf *.ps *.pdf *.log dotguide.aux dotguide.blg dotguide.bbl |
| 53 |
|