]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
meson: Make docbook2man required if user requested doc
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 30 May 2022 21:23:44 +0000 (17:23 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 30 May 2022 23:16:38 +0000 (19:16 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
meson.build

index 53fb21e67e874bead0d9f395fd82cd769463c56e..8d55a5d83c66c9d09b3c845d71178e63e4994b7c 100644 (file)
@@ -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()