summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-05-31 04:16:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-31 04:16:19 +0200
commite6129bd59650b921e51d5b8aa10246778aacdd30 (patch)
tree895d048695727b57b2b3f5133d1859388fc15064 /lib/tdb
parent1d1d31f703e3f3f41dddd45e705cf2a9a5a0d3df (diff)
downloadsamba-e6129bd59650b921e51d5b8aa10246778aacdd30.tar.gz
samba-e6129bd59650b921e51d5b8aa10246778aacdd30.tar.bz2
samba-e6129bd59650b921e51d5b8aa10246778aacdd30.zip
tdb-waf: Simplify manpage handling.
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'''