meson: add support for generating translation mo files
authorDylan Baker <dylan@pnwbakers.com>
Fri, 24 Aug 2018 12:56:01 +0000 (05:56 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 31 Oct 2018 23:37:12 +0000 (16:37 -0700)
commit7834926a4f5ca0a60ec3d18c87a1e0a68b615820
treeeafec72c7a3d113061f8c1380b8a669f892c0af3
parent2857b18991f86940af5759664a961a24d90e3a47
meson: add support for generating translation mo files

Meson has handy a handy built-in module for handling gettext called
i18n, this module works a bit differently than our autotools build does,
namely it doesn't automatically generate translations instead it creates
3 new top level targets to run. These are:

xmlpool-pot
xmlpool-update-po
xmlpool-gmo

v2: - Add new files to autotools dist tarball

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/xmlpool/LINGUAS [new file with mode: 0644]
src/util/xmlpool/Makefile.am
src/util/xmlpool/POTFILES [new file with mode: 0644]
src/util/xmlpool/meson.build