mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
a1c78d63ef
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.
23 lines
856 B
Meson
23 lines
856 B
Meson
# Install glib-gettextize executable, if a UNIX-style shell is found
|
|
if have_sh
|
|
# These should not contain " quotes around the values
|
|
gettextize_conf = configuration_data()
|
|
gettextize_conf.set('PACKAGE', 'glib')
|
|
gettextize_conf.set('VERSION', meson.project_version())
|
|
gettextize_conf.set('prefix', glib_prefix)
|
|
gettextize_conf.set('datarootdir', glib_datadir)
|
|
gettextize_conf.set('datadir', glib_datadir)
|
|
configure_file(input : 'glib-gettextize.in',
|
|
install_dir : glib_bindir,
|
|
install_tag : 'bin-devel',
|
|
output : 'glib-gettextize',
|
|
configuration : gettextize_conf)
|
|
endif
|
|
|
|
if host_system != 'windows'
|
|
# Install Valgrind suppression file (except on Windows,
|
|
# as Valgrind is currently not supported on Windows)
|
|
install_data('glib.supp',
|
|
install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'valgrind'))
|
|
endif
|