[SCM] polybori: Polynomials over Boolean Rings branch, master, updated. upstream/0.8.2-174-g5b14c47

Alexander Dreyer adreyer at gmx.de
Mon Jan 28 22:00:47 UTC 2013


The following commit has been merged in the master branch:
commit 0bd4c2cf5ca201e538f872b9adfae14094e04515
Author: Alexander Dreyer <adreyer at gmx.de>
Date:   Wed Jan 23 10:01:52 2013 +0100

    Add target only if they can be build
    ---
     SConstruct |   11 +++++++----
     1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/SConstruct b/SConstruct
index e4d788b..86db408 100644
--- a/SConstruct
+++ b/SConstruct
@@ -40,7 +40,7 @@ def ensure_dir(target):
         except:
             # Maybe just a race condition occured, because two processes trixy
             # to generate the directory at the same time. (This I could ignore.)
-            if not path.exists(target) and os.isdir(target):
+            if not path.exists(target):
                 raise RuntimeError, "Could not mkdir " + target
 
 
@@ -1721,7 +1721,12 @@ if have_l2h or have_t4h or HAVE_DOXYGEN:
             env.Dir(DocPath(srcs)) for srcs in documastersubdirs ])
     
     # build-independent doc targets
-    env.Alias('prepare-docs', docmstr + [DocPath('c++'), DocPath('tutorial')])
+    if have_l2h or have_t4h:
+        env.Alias('prepare-docs', DocPath('tutorial'))
+    if HAVE_DOXYGEN:
+        env.Alias('prepare-docs', DocPath('c++'))
+
+    env.Alias('prepare-docs', docmstr)
     env.Alias('docs', 'prepare-docs')
 
 # Clean, even, if L2H/TexToHt are not available anymore
@@ -2069,8 +2074,6 @@ Type=Application
 env.Alias('prepare-static',  stlibs)
 env.Alias('prepare-install', dylibs + readabledevellibs)
 
-if have_l2h or have_t4h or  HAVE_DOXYGEN or have_pydoc:
-    env.Alias('prepare-install', [DocPath()])
 
 if HAVE_PYTHON_EXTENSION:
     env.Alias('prepare-install', [BuildPyPBPath(), pyroot])

-- 
polybori: Polynomials over Boolean Rings



More information about the debian-science-commits mailing list