diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/talloc/wscript | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript index e61d8344d6..4cc21c94d3 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -1,5 +1,6 @@ #!/usr/bin/env python +APPNAME = 'talloc' VERSION = '2.0.2' srcdir = '../..' @@ -9,7 +10,7 @@ LIBREPLACE_DIR= srcdir + '/lib/replace' import sys sys.path.insert(0, srcdir+"/buildtools/wafsamba") -import wafsamba +import wafsamba, samba_dist def set_options(opt): opt.BUILTIN_DEFAULT('replace') @@ -17,6 +18,7 @@ def set_options(opt): opt.recurse(LIBREPLACE_DIR) def configure(conf): + conf.DIST_DIRS('lib/talloc:. buildtools:buildtools') conf.sub_config(LIBREPLACE_DIR) if conf.CHECK_BUNDLED_SYSTEM('talloc', minversion=VERSION, @@ -50,3 +52,8 @@ def build(bld): bld.env.TALLOC_VERSION = VERSION bld.PKG_CONFIG_FILES('talloc.pc', vnum=VERSION) + +def dist(): + '''makes a tarball for distribution''' + samba_dist.dist() + |