mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
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:
@@ -80,6 +80,7 @@ foreach tool: python_tools
|
||||
output : tool,
|
||||
configuration : python_tools_conf,
|
||||
install_dir : glib_bindir,
|
||||
install_tag : 'bin-devel',
|
||||
)
|
||||
|
||||
# Set variables for later use
|
||||
@@ -154,6 +155,7 @@ meson.override_dependency('gobject-2.0', libgobject_dep)
|
||||
|
||||
executable('gobject-query', 'gobject-query.c',
|
||||
install : true,
|
||||
install_tag : 'bin-devel',
|
||||
dependencies : [libglib_dep, libgobject_dep])
|
||||
|
||||
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb'))
|
||||
|
Reference in New Issue
Block a user