From: Emil Velikov Date: Sun, 9 Nov 2025 23:12:01 +0000 (+0000) Subject: meson: remove build_by_default instances in man/ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e041c29f334e90bc9cf93982b7d5c97d2bc9d443;p=thirdparty%2Fkmod.git meson: remove build_by_default instances in man/ With earlier meson versions (pre 0.50) build_by_default and install didn't have great integration. With newer meson versions, as the former is undefined the latter will control both. More importantly, the whole meson.build is included only on get_option('manpages'). Signed-off-by: Emil Velikov Reviewed-by: Lucas De Marchi Link: https://github.com/kmod-project/kmod/pull/pull/400 Signed-off-by: Lucas De Marchi --- diff --git a/man/meson.build b/man/meson.build index a9eb3cf0..605510ea 100644 --- a/man/meson.build +++ b/man/meson.build @@ -29,7 +29,6 @@ foreach tuple : _man_pages input : '@0@.@1@.scd'.format(man, section), output : '@0@.@1@'.format(man, section), capture : true, - build_by_default : get_option('manpages'), install : true, install_dir : get_option('mandir') / 'man@0@'.format(section) ) @@ -50,7 +49,6 @@ foreach tuple : _man_aliases command : ['echo', '.so @0@'.format(dest)], output : '@0@.@1@'.format(man, section), capture : true, - build_by_default : get_option('manpages'), install : true, install_dir : get_option('mandir') / 'man@0@'.format(section) )