meson: restore building of man pages on demand even if -Dman=false

I want to configure -Dman=false for speed, but be able to build a specific
man page sometimes to check my edits. Commit 5b316b9ea6 broke this by mistake.
Let's adjust the condition to better match the logic of disabling tests only
if xsltproc is really not found.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-11-24 14:00:29 +01:00
parent 8a8a4b6e3e
commit 559d215b67
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ custom_entities_ent = configure_file(
man_pages = []
html_pages = []
source_xml_files = []
foreach tuple : want_man or want_html ? manpages : []
foreach tuple : xsltproc.found() ? manpages : []
stem = tuple[0]
section = tuple[1]
aliases = tuple[2]