- os.system('msgfmt %s -o %s' % (f, out))
- Logs.info('%s -> %s' % (f, out))
+ bld(rule = 'msgfmt ${SRC} -o ${TGT}', source = bld.path.make_node(po), target = bld.path.get_bld().make_node(mo))
+ bld.install_files(os.path.join('${PREFIX}', 'share', 'locale', lang, 'LC_MESSAGES'), mo)