From: Zbigniew Jędrzejewski-Szmek Date: Sun, 8 Jul 2018 13:14:46 +0000 (+0200) Subject: meson: allow systemd.directives and .index to be built if -Dman=false X-Git-Tag: v240~976^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b75077875194a4a9cf2f8e1fe869be673e40d8fb;p=thirdparty%2Fsystemd.git meson: allow systemd.directives and .index to be built if -Dman=false See 559d215b6733bb46533a52080522a7feca183aa8 for justification. --- diff --git a/man/meson.build b/man/meson.build index ec05d73bc63..fe19268bcdc 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]