summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-04 09:57:33 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:24 +1000
commitc8062fb65ee108fa948fd8d8ed4055ffa3af7027 (patch)
tree51aa3a475537d4cc89dc5b54965b5efdc35b6867 /lib/talloc
parent735934bfede08f37707a070f977837a9f76e3242 (diff)
downloadsamba-c8062fb65ee108fa948fd8d8ed4055ffa3af7027.tar.gz
samba-c8062fb65ee108fa948fd8d8ed4055ffa3af7027.tar.bz2
samba-c8062fb65ee108fa948fd8d8ed4055ffa3af7027.zip
s4-waf: added 'waf dist' to build the tarball
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/wscript9
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()
+