add "msgupdate" target for scons

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2850 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2008-01-09 05:01:50 +00:00
parent 82c52ca020
commit 4a8c2464c4

View file

@ -231,6 +231,7 @@ def i18n (buildenv, sources, installenv):
buildenv.PoBuild(po_file, ['po/'+po_file, potfile])
mo_file = po_file.replace (".po", ".mo")
installenv.Alias ('install', buildenv.MoBuild (mo_file, po_file))
installenv.Alias ('msgupdate', buildenv.MoBuild (mo_file, po_file))
for lang in languages:
modir = (os.path.join (install_prefix, 'share/locale/' + lang + '/LC_MESSAGES/'))