Modular bindings: add missing dep on the modulegen_customizations.py file, when found
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Sun, 27 Mar 2011 22:50:00 +0100
changeset 6956 4a3bb1ba53fb
parent 6955 9a917ba228e8
child 6957 5f49d23b4a74
Modular bindings: add missing dep on the modulegen_customizations.py file, when found
src/wscript
--- a/src/wscript	Sun Mar 27 15:52:35 2011 +0100
+++ b/src/wscript	Sun Mar 27 22:50:00 2011 +0100
@@ -192,6 +192,9 @@
     source = [bld.srcnode.find_resource('bindings/python/ns3modulegen-modular.py').relpath_gen(bld.path),
               "bindings/modulegen__%s.py" % apidefs]
 
+    if bindings_dir.find_resource("modulegen_customizations.py") is not None:
+        source.append("bindings/modulegen_customizations.py")
+
     # the local customization file may or not exist
     if bld.path.find_resource("bindings/modulegen_local.py"):
         source.append("bindings/modulegen_local.py")