diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-11-24 14:00:29 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-11-24 14:00:29 +0100 |
commit | 559d215b6733bb46533a52080522a7feca183aa8 (patch) | |
tree | 937f3004e047e48a9058d0b7db12f5d0189dc699 /man/meson.build | |
parent | Fix build without libkmod (diff) | |
download | systemd-559d215b6733bb46533a52080522a7feca183aa8.tar.gz systemd-559d215b6733bb46533a52080522a7feca183aa8.tar.bz2 systemd-559d215b6733bb46533a52080522a7feca183aa8.zip |
meson: restore building of man pages on demand even if -Dman=false
I want to configure -Dman=false for speed, but be able to build a specific
man page sometimes to check my edits. Commit 5b316b9ea6c broke this by mistake.
Let's adjust the condition to better match the logic of disabling tests only
if xsltproc is really not found.
Diffstat (limited to 'man/meson.build')
-rw-r--r-- | man/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/meson.build b/man/meson.build index 8757dccb8..3a684101d 100644 --- a/man/meson.build +++ b/man/meson.build @@ -49,7 +49,7 @@ custom_entities_ent = configure_file( 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] |