[evolution/evolution-3-12] Use INTLTOOL_XML_RULE for appdata files
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/evolution-3-12] Use INTLTOOL_XML_RULE for appdata files
- Date: Thu, 9 Oct 2014 08:30:47 +0000 (UTC)
commit 379f037132a7f926924ab84f321250c6900517f7
Author: Milan Crha <mcrha redhat com>
Date: Thu Oct 9 10:30:07 2014 +0200
Use INTLTOOL_XML_RULE for appdata files
The translation should be merged into the appdata related files.
The evolution.appdata.xml.in had been moved due to
INTLTOOL_XML_NOMERGE_RULE being used for gsettings schemas.
Makefile.am | 10 +++++++++-
data/Makefile.am | 6 ------
...tion.appdata.xml.in => evolution.appdata.xml.in | 0
3 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 4b5f538..d52657c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,8 +12,15 @@ pkgconfig_in_files = \
evolution-shell-$(INTERFACE_VERSION).pc
pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=-$(INTERFACE_VERSION).pc)
+ INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_in_files = evolution.appdata.xml.in
+appdata_files = $(appdata_in_files:.xml.in=.xml)
+dist_appdata_DATA = $(appdata_files)
+
EXTRA_DIST = \
$(pkgconfig_DATA) \
+ $(appdata_in_files) \
AUTHORS \
COPYING-DOCS \
COPYING.LGPL2 \
@@ -73,7 +80,8 @@ SUBDIRS = \
DISTCLEANFILES = \
$(builddir)/iconv-detect.h \
- $(pkgconfig_in_files)
+ $(pkgconfig_in_files) \
+ $(appdata_files)
MAINTAINERCLEANFILES = \
$(srcdir)/ABOUT-NLS \
diff --git a/data/Makefile.am b/data/Makefile.am
index db1eea6..2c38f17 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -31,10 +31,6 @@ gsettings_SCHEMAS = \
org.gnome.evolution.plugin.templates.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
-appdatadir = $(datadir)/appdata
-appdata_in_files = evolution.appdata.xml.in
-dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-
@GSETTINGS_RULES@
convertdir = $(datadir)/GConf/gsettings
@@ -68,14 +64,12 @@ CLEANFILES = \
$(desktop_DATA)
EXTRA_DIST = \
- $(appdata_in_files) \
$(autostart_in_files) \
$(desktop_in_files) \
$(convert_DATA) \
$(gsettings_SCHEMAS:.xml=.xml.in)
DISTCLEANFILES = \
- $(app_data_in_files) \
$(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/data/evolution.appdata.xml.in b/evolution.appdata.xml.in
similarity index 100%
rename from data/evolution.appdata.xml.in
rename to evolution.appdata.xml.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]