summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-31 12:08:01 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-31 13:56:25 +0200
commitf98bb7ffc33bf161caf301c50c55c8e3cc858b85 (patch)
tree1137d0c8f3c9bf2d67e07d67bb634fb6c062458b /source4/lib/ldb/wscript
parentcc77e7966ea95ccc0812dd772a9002b41792e6b8 (diff)
downloadsamba-f98bb7ffc33bf161caf301c50c55c8e3cc858b85.tar.gz
samba-f98bb7ffc33bf161caf301c50c55c8e3cc858b85.tar.bz2
samba-f98bb7ffc33bf161caf301c50c55c8e3cc858b85.zip
Add manpages argument to SAMBA_LIBRARY().
Diffstat (limited to 'source4/lib/ldb/wscript')
-rw-r--r--source4/lib/ldb/wscript19
1 files changed, 3 insertions, 16 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 15740d6b74..61fe9cbe40 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -163,12 +163,13 @@ def build(bld):
COMMON_SRC + ' ' + LDB_MAP_SRC,
deps=ldb_deps,
includes='include',
- public_headers='include/ldb.h include/ldb_errors.h',
+ public_headers='include/ldb.h include/ldb_errors.h '\
+ 'include/ldb_module.h',
pc_files='ldb.pc',
cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir,
abi_file=abi_file,
abi_match='!ldb_*module_ops !ldb_*backend_ops ldb_*',
- vnum=VERSION)
+ vnum=VERSION, manpages='man/ldb3.')
bld.SAMBA_SUBSYSTEM('LIBLDB_CMDLINE',
'tools/ldbutil.c tools/cmdline.c',
@@ -185,20 +186,6 @@ def build(bld):
deps='ldb',
realname='ldb.so')
- if bld.env.XSLTPROC:
- manpages = 'man/ldb.3'
-
- bld.env.LDB_MAN_XSL = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
-
- for m in manpages.split():
- source = m + '.xml'
- bld.SAMBA_GENERATOR(m,
- source=source,
- target=m,
- rule='${XSLTPROC} -o ${TGT} ${LDB_MAN_XSL} ${SRC}'
- )
- bld.INSTALL_FILES('${MANDIR}/man%s' % m[-1], m, flat=True)
-
def test(ctx):
'''run ldb testsuite'''