diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-09 08:19:11 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-09 08:19:11 -0500 |
commit | 246a4f3018db6a7650ff60dda9562b7cb9891331 (patch) | |
tree | 024db45f9df9f9e1793f0d79833a8be4f519f3a6 /libs/gtkmm2ext/wscript | |
parent | 1648b94905c2a03b82083c767064957c3f347908 (diff) |
correct install location for .mo files (i18n) and cleanup LOCALEDIR use a bit
Diffstat (limited to 'libs/gtkmm2ext/wscript')
-rw-r--r-- | libs/gtkmm2ext/wscript | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libs/gtkmm2ext/wscript b/libs/gtkmm2ext/wscript index c385ce01f8..0c06c5f68f 100644 --- a/libs/gtkmm2ext/wscript +++ b/libs/gtkmm2ext/wscript @@ -118,10 +118,9 @@ def build(bld): mo_files = bld.path.ant_glob('po/*.mo') for mo in mo_files: lang = os.path.basename(mo.srcpath()).replace('.mo', '') - bld.install_as(os.path.join(bld.env['PREFIX'], 'share', 'locale', - lang, 'LC_MESSAGES', I18N_PACKAGE + '.mo'), - mo) - + bld.install_as (os.path.join(os.path.normpath(bld.env['LOCALEDIR']), lang, 'LC_MESSAGES', I18N_PACKAGE + '.mo'), + mo) + def i18n(bld): autowaf.build_i18n(bld, top, 'libs/gtkmm2ext', I18N_PACKAGE, gtkmm2ext_sources, 'Paul Davis') |