meson: Add basic po support
authorArnaud Rebillout <arnaud.rebillout@collabora.com>
Mon, 26 Nov 2018 08:31:49 +0000 (15:31 +0700)
committerArun Raghavan <arun@arunraghavan.net>
Sat, 8 Jun 2019 09:57:00 +0000 (11:57 +0200)
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
meson.build
po/meson.build [new file with mode: 0644]

index 3b44d28..77d2c98 100644 (file)
@@ -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 (file)
index 0000000..91b73ea
--- /dev/null
@@ -0,0 +1,4 @@
+i18n = import('i18n')
+i18n.gettext(meson.project_name(), preset: 'glib')
+
+po_dir = meson.current_source_dir()