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/tevent/wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/tevent') diff --git a/lib/tevent/wscript b/lib/tevent/wscript index 41ca66ad15..976048d016 100644 --- a/lib/tevent/wscript +++ b/lib/tevent/wscript @@ -15,7 +15,9 @@ for d in buildtools.split(): break sys.path.insert(0, srcdir+"/buildtools/wafsamba") -import wafsamba +import wafsamba, samba_dist + +samba_dist.DIST_DIRS('lib/tevent:. lib/replace:lib/replace lib/talloc:lib/talloc buildtools:buildtools') LIBREPLACE_DIR= srcdir + '/lib/replace' LIBTALLOC_DIR= srcdir + '/lib/talloc' @@ -27,7 +29,6 @@ def set_options(opt): opt.recurse(LIBTALLOC_DIR) def configure(conf): - conf.DIST_DIRS('lib/tevent:. lib/replace:lib/replace lib/talloc:lib/talloc buildtools:buildtools') conf.sub_config(LIBREPLACE_DIR) conf.sub_config(LIBTALLOC_DIR) -- cgit