From f89e390fbc6e4f3d8269c40ccab7c718bfcd394f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 31 May 2010 12:17:33 +0200 Subject: waf: Refactor manpage building code. --- source4/lib/ldb/wscript | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source4') 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', -- cgit