diff options
author | Marty E. Plummer <hanetzer@startmail.com> | 2018-08-23 02:41:29 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-09-16 15:08:43 +0300 |
commit | add55bb8613ce2d2da30412d3699d84c7f4f3772 (patch) | |
tree | a9d4b7d474894ddd5e018783a594ac86e350b78c /mesonbuild/modules/i18n.py | |
parent | 3cf03ec6d603d2c4699cefb9fabdbd8de321a3f2 (diff) | |
download | meson-add55bb8613ce2d2da30412d3699d84c7f4f3772.zip meson-add55bb8613ce2d2da30412d3699d84c7f4f3772.tar.gz meson-add55bb8613ce2d2da30412d3699d84c7f4f3772.tar.bz2 |
i18n: allow custom target names for merge_file
As it currently stands, if for whatever reason you have two files you
want to merge with the same output name, it will fail due to multiple
targets with the same name due to the target name being autogenerated
from the output kwarg.
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Diffstat (limited to 'mesonbuild/modules/i18n.py')
-rw-r--r-- | mesonbuild/modules/i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/i18n.py b/mesonbuild/modules/i18n.py index 40f73f7..0fc052b 100644 --- a/mesonbuild/modules/i18n.py +++ b/mesonbuild/modules/i18n.py @@ -92,7 +92,7 @@ class I18nModule(ExtensionModule): outputs = mesonlib.substitute_values([output], values) output = outputs[0] - ct = build.CustomTarget(output + '_merge', state.subdir, state.subproject, kwargs) + ct = build.CustomTarget(output + '_' + state.subdir + '_merge', state.subdir, state.subproject, kwargs) return ModuleReturnValue(ct, [ct]) @FeatureNewKwargs('i18n.gettext', '0.37.0', ['preset']) |