aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-05-21 18:21:23 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-05-21 18:21:23 +0300
commitdc148e0702dc47197f36a843b499d3d513faf272 (patch)
tree4e5bf878799a9c9826896cb8723d4b3822fd4eee /mesonbuild/mesonmain.py
parent12a4e7d7e74e9d8b39a0509984910caa79a45e12 (diff)
downloadmeson-dc148e0702dc47197f36a843b499d3d513faf272.zip
meson-dc148e0702dc47197f36a843b499d3d513faf272.tar.gz
meson-dc148e0702dc47197f36a843b499d3d513faf272.tar.bz2
Remove all special casing for gettext and use elementary operations instead.
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index 22b52e3..c53c9d1 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -206,6 +206,9 @@ def run_script_command(args):
elif cmdname == 'vcstagger':
import mesonbuild.scripts.vcstagger as abc
cmdfunc = abc.run
+ elif cmdname == 'gettext':
+ import mesonbuild.scripts.gettext as abc
+ cmdfunc = abc.run
else:
raise MesonException('Unknown internal command {}.'.format(cmdname))
return cmdfunc(cmdargs)