summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/meson.build b/man/meson.build
index 0312f337c..c64a50112 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -34,7 +34,7 @@ xslt_cmd = [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags
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]