[gnome-documents] build: validate desktop file on make check
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] build: validate desktop file on make check
- Date: Tue, 19 Mar 2013 10:07:06 +0000 (UTC)
commit eb6a4cb8f271923194382a49ac1be6f8bd04dfe5
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Mar 19 06:06:06 2013 -0400
build: validate desktop file on make check
To prevent keyword mistranslations.
configure.ac | 2 ++
data/Makefile.am | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4adb63d..83aa145 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,6 +114,8 @@ AC_SUBST(GJS_CONSOLE)
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)
+AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate)
+
AC_CONFIG_FILES([
Makefile
libgd/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index d828fc4..643f8ae 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,6 +9,9 @@ searchprovider_DATA = gnome-documents-search-provider.ini
@INTLTOOL_DESKTOP_RULE@
+check-local: gnome-documents.desktop
+ $(DESKTOP_FILE_VALIDATE) gnome-documents.desktop
+
servicedir = $(datadir)/dbus-1/services
service_DATA = $(service_in_files:.service.in=.service)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]