summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2014-12-01 13:28:13 +0100
committerMichael Adam <obnox@samba.org>2014-12-15 13:53:08 +0100
commit8d5f58120b6eeb73d1dc3c4df2ec6e12170888aa (patch)
tree0c1f5bfaf35d43f1d6575e4f5933c2e443ecc70b /ctdb
parent0f7aae85804889e586c0ce88563af0720e55bd3f (diff)
downloadsamba-8d5f58120b6eeb73d1dc3c4df2ec6e12170888aa.tar.gz
samba-8d5f58120b6eeb73d1dc3c4df2ec6e12170888aa.tar.xz
samba-8d5f58120b6eeb73d1dc3c4df2ec6e12170888aa.zip
ctdb-build: fix build without xsltproc
Check for XSLTPROC_MANPAGES before trying to build the docs. Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index d1b8e9e885..1400685404 100755
--- a/ctdb/wscript
+++ b/ctdb/wscript
@@ -436,9 +436,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)