[gnome-logs/wip/appdata: 2/2] Use new APPDATA_XML macro
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/wip/appdata: 2/2] Use new APPDATA_XML macro
- Date: Fri, 8 Nov 2013 11:00:41 +0000 (UTC)
commit b3227e602a8ba40003d94be33860ee6a4ae06b81
Author: David King <davidk gnome org>
Date: Fri Nov 8 10:59:47 2013 +0000
Use new APPDATA_XML macro
https://github.com/hughsie/appdata-tools/pull/13
Makefile.am | 6 +++---
configure.ac | 3 +++
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 767784c..91b55da 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,11 +62,11 @@ nodist_gnome_logs_headers = \
$(AM_V_at)$(MKDIR_P) $(@D)
$(AM_V_at)touch $@
+ APPDATA_XML_RULES@
@INTLTOOL_XML_RULE@
-appdatadir = $(datadir)/appdata
appdata_in_files = data/gnome-logs.appdata.xml.in
$(appdata_in_files:.appdata.xml.in=.appdata.xml): data/.dstamp
-appdata_DATA = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
+appdata_XML = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
@@ -137,7 +137,7 @@ git-changelog-hook:
else rm -f .ChangeLog.tmp; exit 1; fi
CLEANFILES = \
- $(appdata_DATA) \
+ $(appdata_XML) \
$(desktop_DATA) \
$(enum_data) \
src/gl-resource.c \
diff --git a/configure.ac b/configure.ac
index 43569ce..d97e0ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,9 @@ PKG_CHECK_EXISTS([gsettings-desktop-schemas],
[],
[AC_MSG_WARN([gsettings-desktop-schemas is required at runtime])])
+dnl AppData XML
+APPDATA_XML
+
dnl Libraries
GTK_REQUIRED="gtk+-3.0 >= 3.9.6"
SYSTEMD_JOURNAL_REQUIRED="libsystemd-journal"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]