From 68f9984ac071cb17a6ff261b88d1a18dbaef196a Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Mon, 26 Nov 2018 15:31:49 +0700 Subject: [PATCH] meson: Add basic po support Signed-off-by: Arnaud Rebillout --- meson.build | 1 + po/meson.build | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 po/meson.build diff --git a/meson.build b/meson.build index 3b44d28b3..77d2c9881 100644 --- a/meson.build +++ b/meson.build @@ -487,6 +487,7 @@ endforeach # Subdirs +subdir('po') if get_option('man') subdir('man') endif diff --git a/po/meson.build b/po/meson.build new file mode 100644 index 000000000..91b73ea4f --- /dev/null +++ b/po/meson.build @@ -0,0 +1,4 @@ +i18n = import('i18n') +i18n.gettext(meson.project_name(), preset: 'glib') + +po_dir = meson.current_source_dir()