]> git.ipfire.org Git - thirdparty/git.git/commit
meson: introduce build option for contrib
authorPatrick Steinhardt <ps@pks.im>
Fri, 17 Jan 2025 09:56:06 +0000 (10:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Jan 2025 17:56:38 +0000 (09:56 -0800)
commit07892da045c51eb97ad77aabe1ae4c34170ab3b4
tree7bd445921bb632ad649c5585151db098fb4af838
parentd4cd75f6bd592e733c3e5b1607aaed991e93902f
meson: introduce build option for contrib

We unconditionally wire up building command completion present in the
"contrib/" directory. This may or may not be what users want, and we
don't provide a way to disable it.

Introduce a new "contrib" build option. This option is introduced as an
array so that users can manually pick which exact features they want to
include from the "contrib" directory. By default, we build and install
shell completions, which is a commonly used feature and also the current
default.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/meson.build
meson_options.txt