From 1883ee6dbc2482a34ce531cec3c1c7e5e85af1e7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 4 Apr 2010 11:00:42 +1000 Subject: s4-waf: avoid having to run waf configure before waf dist This should be useful for building tarballs from a clean checkout --- lib/talloc/wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/talloc') diff --git a/lib/talloc/wscript b/lib/talloc/wscript index a7476b7ec4..17b3b1d349 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -20,13 +20,16 @@ import sys sys.path.insert(0, srcdir+"/buildtools/wafsamba") import wafsamba, samba_dist +# setup what directories to put in a tarball +samba_dist.DIST_DIRS('lib/talloc:. lib/replace:lib/replace buildtools:buildtools') + + def set_options(opt): opt.BUILTIN_DEFAULT('replace') opt.BUNDLED_EXTENSION_DEFAULT('talloc', noextenion='talloc') opt.recurse(LIBREPLACE_DIR) def configure(conf): - conf.DIST_DIRS('lib/talloc:. lib/replace:lib/replace buildtools:buildtools') conf.sub_config(LIBREPLACE_DIR) if conf.CHECK_BUNDLED_SYSTEM('talloc', minversion=VERSION, -- cgit