summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb')
-rw-r--r--lib/tdb/wscript21
1 files changed, 4 insertions, 17 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 084be40c8f..044305f374 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -78,15 +78,16 @@ def build(bld):
bld.SAMBA_BINARY('tdbdump',
'tools/tdbdump.c',
- 'tdb')
+ 'tdb', manpages='manpages/tdbdump.8')
bld.SAMBA_BINARY('tdbbackup',
'tools/tdbbackup.c',
- 'tdb')
+ 'tdb',
+ manpages='manpages/tdbbackup.8')
bld.SAMBA_BINARY('tdbtool',
'tools/tdbtool.c',
- 'tdb')
+ 'tdb', manpages='manpages/tdbtool.8')
s4_build = getattr(bld.env, '_SAMBA_BUILD_', 0) == 4
@@ -101,20 +102,6 @@ def build(bld):
bld.PKG_CONFIG_FILES('tdb.pc', vnum=VERSION)
bld.INSTALL_FILES('${INCLUDEDIR}', 'include/tdb.h', flat=True)
- if bld.env.XSLTPROC:
- manpages = 'manpages/tdbbackup.8 manpages/tdbdump.8 manpages/tdbtool.8'
-
- bld.env.TDB_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} ${TDB_MAN_XSL} ${SRC}'
- )
- bld.INSTALL_FILES('${MANDIR}/man8', m, flat=True)
-
def test(ctx):
'''run tdb testsuite'''