diff options
author | Björn Baumbach <bb@sernet.de> | 2014-12-01 13:28:13 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-12-17 23:45:20 +0100 |
commit | 5d3a3c8b712dfa1b18aad02f963e025b7eefa46a (patch) | |
tree | 3fa5c45a367d9f281cf9668af575838044e25c3c /ctdb/wscript | |
parent | c0d778c580e7f81fd27a1581ddf5d04700a94787 (diff) | |
download | samba-5d3a3c8b712dfa1b18aad02f963e025b7eefa46a.tar.gz |
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>
(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 <kseeger@samba.org>
Autobuild-Date(v4-2-test): Wed Dec 17 23:45:20 CET 2014 on sn-devel-104
Diffstat (limited to 'ctdb/wscript')
-rwxr-xr-x | ctdb/wscript | 7 |
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) |