grim/purple-objects-docbook

Parents 8233b1342997
Children 459e3d865843
process hierarchies with neato, then process them with dot. This ends up with a MUCH better output.
  • +6 -2
    Makefile
  • --- a/Makefile Tue Apr 28 22:38:55 2009 -0500
    +++ b/Makefile Tue Apr 28 23:09:39 2009 -0500
    @@ -49,7 +49,7 @@
    ###############################################################################
    # graph rules
    ###############################################################################
    -.SUFFIXES: .png .fdp .dot .enum .class .hierarchy .key
    +.SUFFIXES: .png .fdp .dot .enum .class .hierarchy .key .neato
    .fdp.png: dir.stamp
    fdp -Tpng -o $(OUTPUT)$@ $<
    @@ -59,6 +59,10 @@
    dot -Tpng -o $(OUTPUT)$@ $<
    rm -f $<
    +.neato.dot: dir.stamp
    + neato -o $@ $<
    + rm -f $<
    +
    .key.dot:
    $(TRANSFORM) $(TRANSFORM_OPTS) -o $@ sheets/hierarchy.xsl $<
    @@ -68,7 +72,7 @@
    .class.dot:
    $(TRANSFORM) $(TRANSFORM_OPTS) -o $@ sheets/class.xsl $<
    -.hierarchy.fdp:
    +.hierarchy.neato:
    $(TRANSFORM) $(TRANSFORM_OPTS) -o $@ sheets/hierarchy.xsl $<
    $(GRAPHS): dir.stamp