From e6129bd59650b921e51d5b8aa10246778aacdd30 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 31 May 2010 04:16:19 +0200 Subject: tdb-waf: Simplify manpage handling. --- lib/tdb/wscript | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'lib/tdb/wscript') 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''' -- cgit v1.2.3