[gtksourceview/wip/modern-autotools] build: migrate from GNOME_CODE_COVERAGE to AX_CODE_COVERAGE
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/modern-autotools] build: migrate from GNOME_CODE_COVERAGE to AX_CODE_COVERAGE
- Date: Sun, 9 Aug 2015 11:29:00 +0000 (UTC)
commit c535f9d5722ac1723fbf97aa6bd94bd0ad706e08
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Aug 9 13:27:28 2015 +0200
build: migrate from GNOME_CODE_COVERAGE to AX_CODE_COVERAGE
https://wiki.gnome.org/Projects/GnomeCommon/Migration
Makefile.am | 2 +-
configure.ac | 3 +--
gtksourceview/Makefile.am | 2 +-
.../completion-providers/words/Makefile.am | 2 +-
tests/Makefile.am | 2 +-
5 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index efaa486..e97c569 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -84,6 +84,6 @@ MAINTAINERCLEANFILES = \
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-glade-catalog
- GNOME_CODE_COVERAGE_RULES@
+ CODE_COVERAGE_RULES@
-include $(top_srcdir)/git.mk
diff --git a/configure.ac b/configure.ac
index 4d3eb20..a04afeb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,8 +167,7 @@ AX_REQUIRE_DEFINED([GOBJECT_INTROSPECTION_CHECK])
GOBJECT_INTROSPECTION_CHECK([1.42.0])
# Code coverage
-AX_REQUIRE_DEFINED([GNOME_CODE_COVERAGE])
-GNOME_CODE_COVERAGE
+AX_CODE_COVERAGE()
# Vala
AX_REQUIRE_DEFINED([VAPIGEN_CHECK])
diff --git a/gtksourceview/Makefile.am b/gtksourceview/Makefile.am
index a07fa12..a99923f 100644
--- a/gtksourceview/Makefile.am
+++ b/gtksourceview/Makefile.am
@@ -2,7 +2,7 @@ if ENABLE_PROVIDERS
SUBDIRS = completion-providers
endif
- GNOME_CODE_COVERAGE_RULES@
+ CODE_COVERAGE_RULES@
AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
diff --git a/gtksourceview/completion-providers/words/Makefile.am
b/gtksourceview/completion-providers/words/Makefile.am
index 863abc6..172e7e0 100644
--- a/gtksourceview/completion-providers/words/Makefile.am
+++ b/gtksourceview/completion-providers/words/Makefile.am
@@ -1,4 +1,4 @@
- GNOME_CODE_COVERAGE_RULES@
+ CODE_COVERAGE_RULES@
AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 03bccaa..c54b2d1 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,4 @@
- GNOME_CODE_COVERAGE_RULES@
+ CODE_COVERAGE_RULES@
AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]