summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/meson.build b/man/meson.build
index ec05d73bc6..fe19268bcd 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -117,8 +117,8 @@ systemd_index_xml = custom_target(
output : 'systemd.index.xml',
command : [make_man_index_py, '@OUTPUT@'] + nonindex_xml_files)
-foreach tuple : want_man or want_html ? [['systemd.directives', '7', systemd_directives_xml],
- ['systemd.index', '7', systemd_index_xml]] : []
+foreach tuple : xsltproc.found() ? [['systemd.directives', '7', systemd_directives_xml],
+ ['systemd.index', '7', systemd_index_xml]] : []
stem = tuple[0]
section = tuple[1]
xml = tuple[2]