[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:51:47 UTC 2009


The following commit has been merged in the upstream branch:
commit 62752809bdc84659df2160a6a42ec220b100a7c3
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Mon Apr 4 10:03:56 2005 +1000

    Automatic dependency of examples doc on files generated by examples
    
    darcs-hash:20050404000356-fbd8f-6056382cc48bd1b29c0025c17a35a9090475f68c.gz

diff --git a/doc/examples/depend.py b/doc/examples/depend.py
index 17afd7d..4512860 100755
--- a/doc/examples/depend.py
+++ b/doc/examples/depend.py
@@ -5,12 +5,18 @@ import os
 import os.path
 import gfs2tex
 
-print "EXTRA_DIST +=",
+dists = ""
+depends = ""
 for start in sys.argv[1:]:
     for root, dirs, files in os.walk(start,topdown=True):
         if not ".xvpics" in root:
             example = gfs2tex.Example(root)
-            print example.path + "/" + example.name + ".gfs",
+            dists += "\\\n\t" + example.path + "/" + example.name + ".gfs "
+            depends += "\\\n\t" + example.path + "/" + example.name + ".gfs "
             for f in example.required:
-                print example.path + "/" + f,
+                dists += "\\\n\t" + example.path + "/" + f + " "
+            for f in example.generated:
+                depends += "\\\n\t" + example.path + "/" + f + " "
+print "EXTRA_DIST += " + dists
 print ""
+print "examples.tex: " + depends

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list