meson: Set install_tag on all tools

Those tools are not needed at runtime for typical applications,
distributions typically package them separately.

This makes `meson install --tag runtime` skip installation of those
tools. Omitting `--tag` argument will still install them, as well as
with `--tag bin,bin-devel`.

See https://mesonbuild.com/Installing.html#installation-tags.
This commit is contained in:
Xavier Claessens
2022-09-09 13:56:35 -04:00
parent 24572c93c2
commit a1c78d63ef
5 changed files with 15 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ gdbus_codegen_conf.set('DATADIR', glib_datadir)
gdbus_codegen = configure_file(input : 'gdbus-codegen.in',
output : 'gdbus-codegen',
install_dir : get_option('bindir'),
install_tag : 'bin-devel',
configuration : gdbus_codegen_conf
)
# Provide tools for others when we're a subproject and they use the Meson GNOME module