From: Stéphane Graber Date: Mon, 30 May 2022 21:23:44 +0000 (-0400) Subject: meson: Make docbook2man required if user requested doc X-Git-Tag: lxc-5.0.0~12^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4412d151b61a71e65891bff7697cc3ab97c62d6a;p=thirdparty%2Flxc.git meson: Make docbook2man required if user requested doc Signed-off-by: Stéphane Graber --- diff --git a/meson.build b/meson.build index 53fb21e67..8d55a5d83 100644 --- a/meson.build +++ b/meson.build @@ -213,7 +213,7 @@ time_epoch = time_epoch.to_int() conf.set('TIME_EPOCH', time_epoch) ## Manpages. -sgml2man = find_program('docbook2X2man', 'docbook2x-man', 'db2x_docbook2man', 'docbook2man', 'docbook-to-man', required: false) +sgml2man = find_program('docbook2X2man', 'docbook2x-man', 'db2x_docbook2man', 'docbook2man', 'docbook-to-man', required: want_mans) docbook2man = find_program('docbook2man', required: false) docconf = configuration_data()