diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-03 12:09:23 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-03 01:34:04 +0000 |
commit | f0a472a2d678dd0374181f1a6ac0a3d35503636e (patch) | |
tree | 6d09e09f3010e96f1bf83bf62fbd62a93e4316cb | |
parent | 8c44dfc371b3be2eadfb2f12580f33fde5551370 (diff) | |
download | samba-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
-rw-r--r-- | lib/talloc/wscript | 5 | ||||
-rw-r--r-- | lib/tdb/wscript | 5 | ||||
-rw-r--r-- | lib/tevent/wscript | 5 | ||||
-rw-r--r-- | source4/lib/ldb/wscript | 5 |
4 files changed, 20 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) diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 45496c897e..8f431cbfdc 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -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) |