[gnome-klotski] Validate appdata and desktop file at make check
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski] Validate appdata and desktop file at make check
- Date: Sat, 5 Oct 2013 19:11:59 +0000 (UTC)
commit d6a87ec8fbe21961e37878dee6fe1f2c9ac7f1d4
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Oct 5 13:48:05 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 0e3f0ec..14b7869 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,9 @@ PKG_CHECK_MODULES(GNOME_KLOTSKI, [
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 d0b9b83..2d1d98f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -29,4 +29,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]