diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-24 23:07:57 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-24 23:07:57 +0300 |
| commit | 0733c0f9a1cd7a38e3a8f5c746e50967eeb9c9a5 (patch) | |
| tree | 41fe7f2443785c8961a2840206b2380b78ca527c /mesonbuild/modules/i18n.py | |
| parent | 35eb8c7b9a0ef755aa228619dd04f937410743c9 (diff) | |
| download | meson-0733c0f9a1cd7a38e3a8f5c746e50967eeb9c9a5.tar.gz | |
Changed run_target to take command as kwarg and add depends. This makes it behave the same as custom_target.
Diffstat (limited to 'mesonbuild/modules/i18n.py')
| -rw-r--r-- | mesonbuild/modules/i18n.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/modules/i18n.py b/mesonbuild/modules/i18n.py index 4b529c704..33874fa6a 100644 --- a/mesonbuild/modules/i18n.py +++ b/mesonbuild/modules/i18n.py @@ -26,9 +26,9 @@ class I18nModule: raise coredata.MesonException('List of languages empty.') extra_args = mesonlib.stringlistify(kwargs.get('args', [])) potargs = [state.environment.get_build_command(), '--internal', 'gettext', 'pot', packagename] + extra_args - pottarget = build.RunTarget(packagename + '-pot', sys.executable, potargs, state.subdir) + pottarget = build.RunTarget(packagename + '-pot', sys.executable, potargs, [], state.subdir) gmoargs = [state.environment.get_build_command(), '--internal', 'gettext', 'gen_gmo'] + languages - gmotarget = build.RunTarget(packagename + '-gmo', sys.executable, gmoargs, state.subdir) + gmotarget = build.RunTarget(packagename + '-gmo', sys.executable, gmoargs, [], state.subdir) installcmd = [sys.executable, state.environment.get_build_command(), '--internal', |
