[glom] AppData file: Actually use translations
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] AppData file: Actually use translations
- Date: Wed, 2 Oct 2013 08:58:42 +0000 (UTC)
commit 32239aa1501ce27fda3b4a95f7b7aa91a189bc79
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Oct 2 10:36:35 2013 +0200
AppData file: Actually use translations
Makefile.am | 16 +++++++++-------
configure.ac | 1 -
2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 1c5adbf..f517f8a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -241,18 +241,20 @@ endif
# The AppData file:
+appdata_in_files = glom.appdata.xml.in
+appdata_files = $(appdata_in_files:.xml.in=.xml)
appdatadir = $(datadir)/appdata
+dist_appdata_DATA = $(appdata_files)
+
+EXTRA_DIST = $(appdata_in_files)
+
+ INTLTOOL_XML_RULE@
-if HOST_WIN32
-appdata_DATA =
-else
-appdata_DATA = glom.appdata.xml
-endif
#Validate the AppData File:
#TODO: Run this during make check when appdata-tools is widespread.
-validate-appdata: $(appdata_DATA)
- appdata-validate --strict $(appdata_DATA)
+validate-appdata: $(appdata_files)
+ appdata-validate --strict $(appdata_files)
mimedir = $(datadir)/mime
diff --git a/configure.ac b/configure.ac
index 5c7e990..aa25e30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -379,7 +379,6 @@ AC_MSG_RESULT($enable_gcov)
AC_CONFIG_FILES([Makefile
docs/user-guide/Makefile
po/Makefile.in
- glom.appdata.xml
glom.desktop.in
glom/libglom/glom-${GLOM_ABI_VERSION}.pc:glom/libglom/glom.pc.in
docs/libglom_reference/Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]