meson: Add basic po support

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-11-26 15:31:49 +07:00 committed by Arun Raghavan
parent 5084dbd96a
commit 68f9984ac0
2 changed files with 5 additions and 0 deletions

View File

@ -487,6 +487,7 @@ endforeach
# Subdirs
subdir('po')
if get_option('man')
subdir('man')
endif

4
po/meson.build Normal file
View File

@ -0,0 +1,4 @@
i18n = import('i18n')
i18n.gettext(meson.project_name(), preset: 'glib')
po_dir = meson.current_source_dir()