summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-31 12:17:33 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-31 13:56:25 +0200
commitf89e390fbc6e4f3d8269c40ccab7c718bfcd394f (patch)
tree867d9d049d645dfa1867ff4940d54bdd499092d1 /source4
parentf98bb7ffc33bf161caf301c50c55c8e3cc858b85 (diff)
downloadsamba-f89e390fbc6e4f3d8269c40ccab7c718bfcd394f.tar.gz
samba-f89e390fbc6e4f3d8269c40ccab7c718bfcd394f.tar.bz2
samba-f89e390fbc6e4f3d8269c40ccab7c718bfcd394f.zip
waf: Refactor manpage building code.
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/wscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 61fe9cbe40..a2c55432f5 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -169,7 +169,7 @@ def build(bld):
cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir,
abi_file=abi_file,
abi_match='!ldb_*module_ops !ldb_*backend_ops ldb_*',
- vnum=VERSION, manpages='man/ldb3.')
+ vnum=VERSION, manpages='man/ldb.3')
bld.SAMBA_SUBSYSTEM('LIBLDB_CMDLINE',
'tools/ldbutil.c tools/cmdline.c',
@@ -177,10 +177,12 @@ def build(bld):
LDB_TOOLS='ldbadd ldbsearch ldbdel ldbmodify ldbedit ldbrename'
for t in LDB_TOOLS.split():
- bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='LIBLDB_CMDLINE', manpages='man/%s.1' % t)
+ bld.SAMBA_BINARY(t, 'tools/%s.c' % t, deps='LIBLDB_CMDLINE',
+ manpages='man/%s.1' % t)
# ldbtest doesn't get installed
- bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='LIBLDB_CMDLINE', install=False)
+ bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='LIBLDB_CMDLINE',
+ install=False)
bld.SAMBA_PYTHON('pyldb', 'pyldb.c',
deps='ldb',