1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

meson: allow systemd.directives and .index to be built if -Dman=false

See 559d215b67 for justification.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-07-08 15:14:46 +02:00
parent 3c775de6c5
commit b750778751

View File

@ -117,7 +117,7 @@ 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],
foreach tuple : xsltproc.found() ? [['systemd.directives', '7', systemd_directives_xml],
['systemd.index', '7', systemd_index_xml]] : []
stem = tuple[0]
section = tuple[1]