[gnome-mines] Validate appdata and desktop file at make check
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Validate appdata and desktop file at make check
- Date: Sat, 5 Oct 2013 20:48:02 +0000 (UTC)
commit 764d7bb93b9933b64c1db873fb80e58fabbb4ac6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Oct 5 15:15:17 2013 -0500
Validate appdata and desktop file at make check
configure.ac | 3 +++
data/Makefile.am | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2080749..26ada6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,9 @@ PKG_CHECK_MODULES(GNOME_MINES, [
librsvg-2.0 >= $RSVG_REQUIRED
])
+AC_PATH_PROG(APPDATA_VALIDATE, appdata-validate)
+AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate)
+
dnl ###########################################################################
dnl Internationalization
dnl ###########################################################################
diff --git a/data/Makefile.am b/data/Makefile.am
index cb905a3..5a2bdb5 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -30,4 +30,8 @@ EXTRA_DIST = \
CLEANFILES = $(desktop_DATA) $(gsettings_SCHEMAS)
DISTCLEANFILES = $(desktop_DATA) $(gsettings_SCHEMAS)
+check-local: $(appdata_DATA) $(desktop_DATA)
+ $(APPDATA_VALIDATE) $(appdata_DATA)
+ $(DESKTOP_FILE_VALIDATE) $(desktop_DATA)
+
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]