meson: Set install_tag on remaining installed files

This commit is contained in:
Xavier Claessens 2022-09-18 16:51:55 -04:00
parent 49fd523af3
commit a73ca336aa
7 changed files with 38 additions and 14 deletions

View File

@ -32,6 +32,7 @@ gdbus_codegen_built_files = []
gdbus_codegen_built_files += configure_file(input : 'config.py.in',
output : 'config.py',
install_dir : codegen_dir,
install_tag : 'bin-devel',
configuration : gdbus_codegen_conf)
foreach f : gdbus_codegen_files
@ -39,5 +40,6 @@ foreach f : gdbus_codegen_files
# and then install it too so that it can be used after installation
gdbus_codegen_built_files += configure_file(input : f, output : f,
install_dir : codegen_dir,
install_tag : 'bin-devel',
copy : true)
endforeach

View File

@ -800,13 +800,15 @@ if have_bash
endif
install_data([
'completion/gapplication',
'completion/gdbus',
'completion/gio',
'completion/gsettings',
'completion/gresource'
],
install_dir: bash_comp_inst_dir)
'completion/gapplication',
'completion/gdbus',
'completion/gio',
'completion/gsettings',
'completion/gresource'
],
install_dir: bash_comp_inst_dir,
install_tag: 'bin',
)
endif
if enable_dtrace
@ -1017,10 +1019,14 @@ executable('gsettings', 'gsettings-tool.c',
link_args : noseh_link_args,
dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep])
install_data('gschema.dtd',
install_dir : join_paths(get_option('datadir'), schemas_subdir))
install_dir : get_option('datadir') / schemas_subdir,
install_tag : 'devel',
)
install_data(['gschema.loc', 'gschema.its'],
install_dir : join_paths(get_option('datadir'), 'gettext/its'))
install_dir : get_option('datadir') / 'gettext' / 'its',
install_tag : 'devel',
)
executable('gdbus', 'gdbus-tool.c',
install : true,

View File

@ -1,5 +1,6 @@
glibconfig_h = configure_file(input : 'glibconfig.h.in', output : 'glibconfig.h',
install_dir : join_paths(get_option('libdir'), 'glib-2.0/include'),
install_tag : 'devel',
configuration : glibconfig_conf)
subdir('libcharset')
@ -453,7 +454,10 @@ configure_file(
install_mode: 'rwxr-xr-x'
)
install_data('glib_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb'))
install_data('glib_gdb.py',
install_dir : glib_pkgdatadir / 'gdb',
install_tag : 'devel',
)
# This is needed to make gdb find glib_gdb.py
env = environment()
@ -480,6 +484,7 @@ configure_file(
output: 'libglib-2.0.so.@0@-gdb.py'.format(library_version),
configuration: gdb_conf,
install_dir: gdb_install_dir,
install_tag: 'devel',
install: gdb_install,
)

View File

@ -158,7 +158,10 @@ executable('gobject-query', 'gobject-query.c',
install_tag : 'bin-devel',
dependencies : [libglib_dep, libgobject_dep])
install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb'))
install_data('gobject_gdb.py',
install_dir : glib_pkgdatadir / 'gdb',
install_tag : 'devel',
)
gdb_conf = configuration_data()
gdb_conf.set('datadir', glib_datadir)
configure_file(
@ -166,6 +169,7 @@ configure_file(
output: 'libgobject-2.0.so.@0@-gdb.py'.format(library_version),
configuration: gdb_conf,
install_dir: gdb_install_dir,
install_tag: 'devel',
install: gdb_install,
)

View File

@ -2391,7 +2391,9 @@ endif
# Install m4 macros that other projects use
install_data('m4macros/glib-2.0.m4', 'm4macros/glib-gettext.m4', 'm4macros/gsettings.m4',
install_dir : join_paths(get_option('datadir'), 'aclocal'))
install_dir : get_option('datadir') / 'aclocal',
install_tag : 'devel',
)
configure_file(output : 'config.h', configuration : glib_conf)

View File

@ -2,4 +2,7 @@ i18n = import('i18n')
i18n.gettext('glib20', preset: 'glib')
install_data('Makefile.in.in', install_dir : glib_pkgdatadir + '/gettext/po')
install_data('Makefile.in.in',
install_dir : glib_pkgdatadir / 'gettext' / 'po',
install_tag : 'devel',
)

View File

@ -18,5 +18,7 @@ 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'))
install_dir : get_option('datadir') / 'glib-2.0' / 'valgrind',
install_tag : 'devel',
)
endif