waf: added reconfigure targets to our libraries
authorAndrew Tridgell <tridge@samba.org>
Wed, 3 Nov 2010 01:09:23 +0000 (12:09 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 3 Nov 2010 01:34:04 +0000 (01:34 +0000)
This allows you to do "make reconfigure" to re-run configure only if
needed

lib/talloc/wscript
lib/tdb/wscript
lib/tevent/wscript
source4/lib/ldb/wscript

index dd0dc927f0d1064fdef2b6e4c555ca3047c07fc5..a931e1e8e6b8d2e356984ad6fd427ca5124d3986 100644 (file)
@@ -132,3 +132,8 @@ def test(ctx):
 def dist():
     '''makes a tarball for distribution'''
     samba_dist.dist()
+
+def reconfigure(ctx):
+    '''reconfigure if config scripts have changed'''
+    import samba_utils
+    samba_utils.reconfigure(ctx)
index fcb15f8218db910b4240ec83fea8c4ed0bcd861b..febd76b043a274df40dcd6331ceb3016a66f115f 100644 (file)
@@ -126,3 +126,8 @@ def test(ctx):
 def dist():
     '''makes a tarball for distribution'''
     samba_dist.dist()
+
+def reconfigure(ctx):
+    '''reconfigure if config scripts have changed'''
+    import samba_utils
+    samba_utils.reconfigure(ctx)
index 590fbfeec0b9f7924b79bbac55c20cdb7e872b10..8f8820f5a11a9191eecc99f528c5d105618d1bb2 100644 (file)
@@ -101,3 +101,8 @@ def test(ctx):
 def dist():
     '''makes a tarball for distribution'''
     samba_dist.dist()
+
+def reconfigure(ctx):
+    '''reconfigure if config scripts have changed'''
+    import samba_utils
+    samba_utils.reconfigure(ctx)
index 45496c897e0676742be4a14f638b5f4a406758a0..8f431cbfdcc06f0bb6ac6afd2f6258b2efd48e8e 100644 (file)
@@ -234,3 +234,8 @@ def test(ctx):
 def dist():
     '''makes a tarball for distribution'''
     samba_dist.dist()
+
+def reconfigure(ctx):
+    '''reconfigure if config scripts have changed'''
+    import samba_utils
+    samba_utils.reconfigure(ctx)