[gnome-chess] Add appdata-validate to 'make check'
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Add appdata-validate to 'make check'
- Date: Thu, 26 Sep 2013 14:39:24 +0000 (UTC)
commit 6ee65f3227e9fed2c3c907c25af9efcfdce43f70
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Sep 26 09:12:38 2013 -0500
Add appdata-validate to 'make check'
configure.ac | 2 ++
data/Makefile.am | 4 ++++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index bf82ba3..f0fd357 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,8 @@ PKG_CHECK_MODULES(TEST, [
gio-2.0
])
+AC_PATH_PROG(APPDATA_VALIDATE, appdata-validate)
+
dnl ###########################################################################
dnl Disable C warnings
dnl ###########################################################################
diff --git a/data/Makefile.am b/data/Makefile.am
index c2089cb..22f1e2e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -24,6 +24,10 @@ dist_sysconf_DATA = chess-engines.conf
dist_man_MANS = gnome-chess.6
+
+check-local: $(appdata_DATA)
+ $(APPDATA_VALIDATE) $(appdata_DATA)
+
EXTRA_DIST = \
$(appdata_in_files) \
$(gsettings_SCHEMAS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]