[swell-foop] Validate appdata and desktop file at make check
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop] Validate appdata and desktop file at make check
- Date: Sun, 6 Oct 2013 15:25:50 +0000 (UTC)
commit f8eb0c5b7515b57f1710a4f27b3584117cca8160
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Oct 6 10:06:16 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 a7ddf40..ac17305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,9 @@ PKG_CHECK_MODULES(SWELL_FOOP, [
AC_CHECK_LIB([m],[floor])
+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 88fbb7e..615b8f3 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -33,4 +33,8 @@ DISTCLEANFILES = \
@INTLTOOL_SCHEMAS_RULE@
+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]