summaryrefslogtreecommitdiff
path: root/ctdb/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/wscript')
-rwxr-xr-xctdb/wscript7
1 files changed, 4 insertions, 3 deletions
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)