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

Stephane Popinet popinet at users.sf.net
Fri May 15 02:55:08 UTC 2009


The following commit has been merged in the upstream branch:
commit 890598cfa025d4f7d25b500dee4dfc0e02771a39
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Tue Mar 18 10:49:03 2008 +1100

    Examples files are distributed only if they are version-controlled
    
    darcs-hash:20080317234903-d4795-6b7bbb6fd53206a0d07a3dce3f6e1e3267f5f63f.gz

diff --git a/doc/examples/depend.py b/doc/examples/depend.py
index d3312e2..b8b058b 100755
--- a/doc/examples/depend.py
+++ b/doc/examples/depend.py
@@ -8,6 +8,7 @@ import gfs2tex
 dists = ""
 depends = ""
 docs = ""
+
 for start in sys.argv[1:]:
     for root, dirs, files in os.walk(start,topdown=True):
         if not ".xvpics" in root:
@@ -17,7 +18,8 @@ for start in sys.argv[1:]:
             dists += "\\\n\t" + name
             depends += "\\\n\t" + name
             for f in example.required:
-                dists += "\\\n\t" + example.path + "/" + f
+                if os.path.exists("../../_darcs/pristine/doc/examples/" + example.path + "/" + f):
+                    dists += "\\\n\t" + example.path + "/" + f
             for f in example.generated:
                 depends += "\\\n\t" + example.path + "/" + f
                 if f[-4:] == ".mpg":

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list