summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-03 12:09:23 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-03 01:34:04 +0000
commitf0a472a2d678dd0374181f1a6ac0a3d35503636e (patch)
tree6d09e09f3010e96f1bf83bf62fbd62a93e4316cb /lib
parent8c44dfc371b3be2eadfb2f12580f33fde5551370 (diff)
downloadsamba-f0a472a2d678dd0374181f1a6ac0a3d35503636e.tar.gz
samba-f0a472a2d678dd0374181f1a6ac0a3d35503636e.tar.bz2
samba-f0a472a2d678dd0374181f1a6ac0a3d35503636e.zip
waf: added reconfigure targets to our libraries
This allows you to do "make reconfigure" to re-run configure only if needed
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/wscript5
-rw-r--r--lib/tdb/wscript5
-rw-r--r--lib/tevent/wscript5
3 files changed, 15 insertions, 0 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index dd0dc927f0..a931e1e8e6 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -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)
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index fcb15f8218..febd76b043 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -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)
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 590fbfeec0..8f8820f5a1 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -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)