From 5d3a3c8b712dfa1b18aad02f963e025b7eefa46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= Date: Mon, 1 Dec 2014 13:28:13 +0100 Subject: ctdb-build: fix build without xsltproc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check for XSLTPROC_MANPAGES before trying to build the docs. Signed-off-by: Björn Baumbach Reviewed-by: Stefan Metzmacher Reviewed-by: Michael Adam (cherry picked from commit 8d5f58120b6eeb73d1dc3c4df2ec6e12170888aa) The last 4 patches address BUG: https://bugzilla.samba.org/show_bug.cgi?id=11014 Top level build does not install CTDB configuration files. Autobuild-User(v4-2-test): Karolin Seeger Autobuild-Date(v4-2-test): Wed Dec 17 23:45:20 CET 2014 on sn-devel-104 --- ctdb/wscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ctdb/wscript') diff --git a/ctdb/wscript b/ctdb/wscript index e4294c34e2c..3e2a99277fb 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -433,9 +433,10 @@ def build(bld): bld.INSTALL_FILES('${CTDB_PMDADIR}', 'utils/pmda/README', destname='README') - bld.MANPAGES('''doc/onnode.1 doc/ctdbd_wrapper.1 doc/ctdbd.conf.5 - doc/ctdb.7 doc/ctdb-statistics.7 doc/ctdb-tunables.7''', - True) + if 'XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']: + bld.MANPAGES('''doc/onnode.1 doc/ctdbd_wrapper.1 doc/ctdbd.conf.5 + doc/ctdb.7 doc/ctdb-statistics.7 doc/ctdb-tunables.7''', + True) bld.INSTALL_FILES('${BINDIR}', 'tools/onnode', destname='onnode', chmod=0755) -- cgit v1.2.1