]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: allow systemd.directives and .index to be built if -Dman=false
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 8 Jul 2018 13:14:46 +0000 (15:14 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 16 Jul 2018 10:36:44 +0000 (12:36 +0200)
See 559d215b6733bb46533a52080522a7feca183aa8 for justification.

man/meson.build

index ec05d73bc632f9aca35e01a837784b48a7ac7cf1..fe19268bcdc92229635075f853695c37c934a183 100644 (file)
@@ -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]