diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-26 18:11:42 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-31 23:37:33 -0400 |
commit | 22c38a0006735c813000b7320b6c5a133fcab360 (patch) | |
tree | 61c770150bf9b1a924941549c326cfe86703c811 /mesonbuild/modules/i18n.py | |
parent | 2fc7592e13a4680aa481dfd0859a6591d0f92e74 (diff) | |
download | meson-22c38a0006735c813000b7320b6c5a133fcab360.zip meson-22c38a0006735c813000b7320b6c5a133fcab360.tar.gz meson-22c38a0006735c813000b7320b6c5a133fcab360.tar.bz2 |
i18n module: restore the <packagename>-gmo target
Removed in commit 487d45c1e5bfff0fbdb4747841db6a0b5b124af9 but perhaps
it should not have -- people may have been depending on ensuring those
are built somehow. Even though the internal implementation changed and
it is now built by the all target, let's keep the old target around too.
Now it just aliases the actual build rules, though.
Diffstat (limited to 'mesonbuild/modules/i18n.py')
-rw-r--r-- | mesonbuild/modules/i18n.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/modules/i18n.py b/mesonbuild/modules/i18n.py index de86195..7329989 100644 --- a/mesonbuild/modules/i18n.py +++ b/mesonbuild/modules/i18n.py @@ -188,6 +188,9 @@ class I18nModule(ExtensionModule): targets.append(gmotarget) gmotargets.append(gmotarget) + allgmotarget = build.AliasTarget(packagename + '-gmo', gmotargets, state.subdir, state.subproject) + targets.append(allgmotarget) + updatepoargs = state.environment.get_build_command() + ['--internal', 'gettext', 'update_po', pkg_arg] if lang_arg: updatepoargs.append(lang_arg) |