[gnome-mahjongg] Validate appdata and desktop file at make check
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mahjongg] Validate appdata and desktop file at make check
- Date: Sat, 5 Oct 2013 20:11:14 +0000 (UTC)
commit 6182aeeb8091ce028018153c938170465dfe7ac2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Oct 5 14:59:08 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 d1403d1..041e1ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,9 @@ PKG_CHECK_MODULES(GNOME_MAHJONGG, [
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 62f8301..dc3a881 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -39,6 +39,10 @@ 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)
+
@INTLTOOL_DESKTOP_RULE@
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]