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:
parent
0f7aae8580
commit
8d5f58120b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user