summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-19 12:43:11 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-19 05:38:07 +0200
commit1fe797aada0f546e8d557625a78843274b7e5fc5 (patch)
tree1507b9eb266513e102eb63a0fdefa7a5bb5a1eb4 /wscript
parent13ac664a6d264564da16078f0b5fb9b7df6e185f (diff)
downloadsamba-1fe797aada0f546e8d557625a78843274b7e5fc5.tar.gz
samba-1fe797aada0f546e8d557625a78843274b7e5fc5.tar.bz2
samba-1fe797aada0f546e8d557625a78843274b7e5fc5.zip
ntdb: put it back into the build.
This doesn't do anything with it yet, just wires it back into the build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index cccd19377b..bceace1346 100755
--- a/wscript
+++ b/wscript
@@ -37,6 +37,7 @@ def set_options(opt):
opt.RECURSE('lib/replace')
opt.RECURSE('dynconfig')
opt.RECURSE('lib/ldb')
+ opt.RECURSE('lib/ntdb')
opt.RECURSE('selftest')
opt.RECURSE('source4/lib/tls')
opt.RECURSE('lib/nss_wrapper')
@@ -123,6 +124,7 @@ def configure(conf):
conf.RECURSE('source4/ntvfs/sysdep')
conf.RECURSE('lib/util')
conf.RECURSE('lib/ccan')
+ conf.RECURSE('lib/ntdb')
conf.RECURSE('lib/zlib')
conf.RECURSE('lib/util/charset')
conf.RECURSE('source4/auth')
@@ -195,14 +197,14 @@ def pydoctor(ctx):
'''build python apidocs'''
bp = os.path.abspath('bin/python')
mpaths = {}
- for m in ['talloc', 'tdb', 'ldb']:
+ for m in ['talloc', 'tdb', 'ldb', 'ntdb']:
f = os.popen("PYTHONPATH=%s python -c 'import %s; print %s.__file__'" % (bp, m, m), 'r')
try:
mpaths[m] = f.read().strip()
finally:
f.close()
cmd='PYTHONPATH=%s pydoctor --introspect-c-modules --project-name=Samba --project-url=http://www.samba.org --make-html --docformat=restructuredtext --add-package bin/python/samba --add-module %s --add-module %s --add-module %s' % (
- bp, mpaths['tdb'], mpaths['ldb'], mpaths['talloc'])
+ bp, mpaths['tdb'], mpaths['ldb'], mpaths['talloc'], mpaths['ntdb'])
print("Running: %s" % cmd)
os.system(cmd)