[gxml] Meson: i18n and documentation updates
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Meson: i18n and documentation updates
- Date: Wed, 10 May 2017 17:02:32 +0000 (UTC)
commit a873a6bf624d82ffe2800b17ac85d53ba5e07815
Author: Daniel Espinosa <esodan gmail com>
Date: Wed May 10 08:49:53 2017 -0500
Meson: i18n and documentation updates
Added support for i18n.
Documentation now is not fixed to 0.34 driver
for valadoc
docs/meson.build | 2 +-
meson.build | 2 +-
po/meson.build | 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index 982c038..ad3f8f8 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1,7 +1,7 @@
valadoc = find_program ('valadoc')
outdir ='GXml-'+API_VERSION
valacapi = run_command ('valac', '--api-version')
-driver = '--driver=0.34'
+driver = '--driver='+valacapi.stdout().strip()
pkgname = '--package-name='+'GXml-'+API_VERSION
pkgversion = '--package-version='+GXML_VERSION
vapidirgxml = '--vapidir='+join_paths (meson.current_source_dir (),'gxml')
diff --git a/meson.build b/meson.build
index 8455a40..0083afb 100644
--- a/meson.build
+++ b/meson.build
@@ -19,7 +19,7 @@ configure_file(input : 'gxml/namespace-info.vala.in',
output : 'namespace-info.vala',
configuration : conf)
-#subdir('po')
+subdir('po')
subdir('vapi')
subdir('gxml')
subdir('docs')
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 0000000..28288c6
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,2 @@
+i18n = import('i18n')
+i18n.gettext('gxml', preset : 'glib')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]