add "msgupdate" target for scons
[ardour.git] / SConstruct
index 23cdbce81ea25239c41eb6f64825c4917aa2a28f..0bb74698dc72218637e83bc13c4bbdb72e73b524 100644 (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/'))