[gnome-python] Create html dirs, to preemtively avoid Bug 589012.



commit f7cc24a82191ca32759f9885af44296c725db775
Author: Gustavo Carneiro <gjc inescporto pt>
Date:   Mon Jul 20 11:09:40 2009 +0100

    Create html dirs, to preemtively avoid Bug 589012.

 wscript |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/wscript b/wscript
index e1176f4..1aff5a0 100644
--- a/wscript
+++ b/wscript
@@ -118,6 +118,15 @@ def configure(conf):
 
     conf.write_config_header('config.h')
     
+    for docs_module in ['gnomevfs']:
+        d = os.path.join('docs', docs_module, 'html')
+        try:
+            os.mkdir(d)
+        except OSError:
+            pass
+        #    print "* Directory %r already exists." % (d,)
+        #else:
+        #    print "* Creating directory %r." % (d,)
 
 
 def codegen(bld, module, local_load_types=(), register=(), local_register=(), prefix=None):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]