[five-or-more] Validate appdata and desktop file during check
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] Validate appdata and desktop file during check
- Date: Sat, 5 Oct 2013 14:49:19 +0000 (UTC)
commit c52167b8581ec26e8d69fc681a73309ab8f40a60
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Oct 5 09:30:14 2013 -0500
Validate appdata and desktop file during check
configure.ac | 3 +++
data/Makefile.am | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8bda5be..2d3e05f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,9 @@ PKG_CHECK_MODULES(FIVE_OR_MORE, [
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 208eb36..1e53bee 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -38,4 +38,8 @@ EXTRA_DIST = \
CLEANFILES = $(desktop_DATA)
+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]