From 3ddd35142ab86de431d00f93de2fb6a2b371317d Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Fri, 11 Sep 2015 13:08:38 +1000 Subject: [PATCH] ctdb-build: Install pre-built manpages when xsltproc not available At the moment they are not installed at all if xsltproc is not available. They can still be filtered to have the paths match what was configured. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs Reviewed-by: Jose A. Rivera Reviewed-by: Michael Adam Autobuild-User(master): Michael Adam Autobuild-Date(master): Tue Sep 15 11:57:44 CEST 2015 on sn-devel-104 --- ctdb/wscript | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ctdb/wscript b/ctdb/wscript index a883872e05d..188295d8062 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -467,6 +467,13 @@ def build(bld): bld.MANPAGES('''onnode.1 ctdbd_wrapper.1 ctdbd.conf.5 ctdb.7 ctdb-statistics.7 ctdb-tunables.7''', True) + else: + for m in manpages: + bld.SAMBA_GENERATOR(m, + source=os.path.join("doc", m), + target=m, + rule='sed %s ${SRC} > ${TGT}' % (sed_cmdline)) + bld.INSTALL_FILES('${MANDIR}/man%s' % m[-1], m) bld.SAMBA_GENERATOR('ctdb-onnode', source='tools/onnode', -- 2.34.1