[glade/glade-3-16] Actually use intltool to merge in the AppData translations
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade/glade-3-16] Actually use intltool to merge in the AppData translations
- Date: Sat, 16 Nov 2013 02:52:31 +0000 (UTC)
commit 8910663c7faac0868533056daae3f72882d0a97f
Author: Richard Hughes <richard hughsie com>
Date: Thu Nov 14 08:50:15 2013 +0000
Actually use intltool to merge in the AppData translations
Doing the .xml.in->.xml in configure works for paths, but not translations.
configure.ac | 1 -
data/.gitignore | 1 +
data/Makefile.am | 8 +++++---
3 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a0334ce..cbfd077 100644
--- a/configure.ac
+++ b/configure.ac
@@ -307,7 +307,6 @@ AC_CONFIG_FILES([
Makefile
data/gladeui-2.0.pc
data/glade.desktop.in
-data/glade.appdata.xml
data/Makefile
data/icons/Makefile
data/icons/hicolor/Makefile
diff --git a/data/.gitignore b/data/.gitignore
index aef6116..c6e26ba 100644
--- a/data/.gitignore
+++ b/data/.gitignore
@@ -1,3 +1,4 @@
/glade.desktop
/glade.desktop.in
/gladeui-1.0.pc
+/glade.appdata.xml
diff --git a/data/Makefile.am b/data/Makefile.am
index 5a225c6..c4420a8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,13 +10,15 @@ desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gladeui-2.0.pc
+ INTLTOOL_XML_RULE@
appdatadir = $(datadir)/appdata
-appdata_DATA = glade.appdata.xml
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = glade.appdata.xml.in
EXTRA_DIST = \
+ $(appdata_in_files) \
$(desktop_in_files) \
- gladeui-2.0.pc.in \
- glade.appdata.xml.in
+ gladeui-2.0.pc.in
CLEANFILES = \
$(desktop_DATA) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]