Boost logo

Boost-Commit :

From: asutton_at_[hidden]
Date: 2007-08-13 09:12:01


Author: asutton
Date: 2007-08-13 09:11:58 EDT (Mon, 13 Aug 2007)
New Revision: 38617
URL: http://svn.boost.org/trac/boost/changeset/38617

Log:
Changing some graph build stuff

Text files modified:
   sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/Makefile | 19 +++++++++++--------
   sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/social_network.neato | 1 +
   2 files changed, 12 insertions(+), 8 deletions(-)

Modified: sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/Makefile
==============================================================================
--- sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/Makefile (original)
+++ sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/Makefile 2007-08-13 09:11:58 EDT (Mon, 13 Aug 2007)
@@ -1,4 +1,6 @@
 
+GVFLAGS = -Gnodesep=.5 -Tpng
+
 dot_src = \
         connected_components_before.dot \
         connected_components_after.dot \
@@ -7,27 +9,28 @@
 circo_src = \
         distribution_undirected.circo \
         distribution_directed.circo
-neato_src = \
- social_network.neato
+fdp_src = \
+ social_network.fdp
 
 dot_png = $(dot_src:%.dot=%.png)
 circo_png = $(circo_src:%.circo=%.png)
-neato_png = $(neato_src:%.neato=%.png)
+fdp_png = $(fdp_src:%.fdp=%.png)
 
 %.png: %.dot
- dot -Tpng $< > $@
+ dot $(GVFLAGS) -o $@ $<
         convert $@ -resize 80% $@
 
 %.png: %.circo
- circo -Tpng $< > $@
+ circo $(GVFLAGS) -o $@ $<
         convert $@ -resize 80% $@
 
-%.png: %.neato
- neato -Tpng $< > $@
+%.png: %.fdp
+ fdp $(GVFLAGS) -o $@ $<
         convert $@ -resize 80% $@
 
-all: $(dot_png) $(circo_png) $(neato_png)
+all: $(dot_png) $(circo_png) $(fdp_png)
 
 clean:
         rm -rf $(dot_png)
         rm -rf $(circo_png)
+ rm -rf $(fdp_png)

Modified: sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/social_network.neato
==============================================================================
--- sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/social_network.neato (original)
+++ sandbox/SOC/2007/graphs/libs/graph/doc/images/reference/social_network.neato 2007-08-13 09:11:58 EDT (Mon, 13 Aug 2007)
@@ -10,4 +10,5 @@
     Howard -- Anne;
     Frank -- Howard;
     Josh -- Frank;
+ Laurie -- Mary;
 };
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk