mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
tools: Move glib-gettextize.in to tools directory
This tidies up the root directory a bit more. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
7a569f675a
commit
0dc53687f4
16
meson.build
16
meson.build
@ -2377,27 +2377,13 @@ subdir('fuzzing')
|
||||
if build_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
subdir('tools')
|
||||
|
||||
# xgettext is optional (on Windows for instance)
|
||||
if find_program('xgettext', required : get_option('nls')).found()
|
||||
subdir('po')
|
||||
endif
|
||||
|
||||
# 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,
|
||||
output : 'glib-gettextize',
|
||||
configuration : gettextize_conf)
|
||||
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'))
|
||||
|
14
tools/meson.build
Normal file
14
tools/meson.build
Normal file
@ -0,0 +1,14 @@
|
||||
# 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,
|
||||
output : 'glib-gettextize',
|
||||
configuration : gettextize_conf)
|
||||
endif
|
Loading…
Reference in New Issue
Block a user