1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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>
This commit is contained in:
Björn Baumbach 2014-12-01 13:28:13 +01:00 committed by Michael Adam
parent 0f7aae8580
commit 8d5f58120b

View File

@ -436,6 +436,7 @@ def build(bld):
bld.INSTALL_FILES('${CTDB_PMDADIR}', 'utils/pmda/README', bld.INSTALL_FILES('${CTDB_PMDADIR}', 'utils/pmda/README',
destname='README') destname='README')
if 'XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']:
bld.MANPAGES('''doc/onnode.1 doc/ctdbd_wrapper.1 doc/ctdbd.conf.5 bld.MANPAGES('''doc/onnode.1 doc/ctdbd_wrapper.1 doc/ctdbd.conf.5
doc/ctdb.7 doc/ctdb-statistics.7 doc/ctdb-tunables.7''', doc/ctdb.7 doc/ctdb-statistics.7 doc/ctdb-tunables.7''',
True) True)