[tepl/tepl-4-2] build: adapt for AX_CODE_COVERAGE API break



commit f97f02adc8aa0ea203d9cff3ef88595d32c1bc8f
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Nov 5 11:39:57 2019 +0100

    build: adapt for AX_CODE_COVERAGE API break
    
    The usage of AX_CODE_COVERAGE has changed since autoconf-archive version
    2019.01.06.
    
    Unfortunately it is not sufficient. It triggers a bug in
    AX_CODE_COVERAGE that is fixed in autoconf-archive git master but not in
    the latest stable version (2019.01.06).

 Makefile.am           | 4 +++-
 tepl/Makefile.am      | 4 +++-
 testsuite/Makefile.am | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 91eb8cc..cadf0ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,8 @@
 SUBDIRS = po tepl tests testsuite docs
 
-@CODE_COVERAGE_RULES@
+include $(top_srcdir)/aminclude_static.am
+clean-local: code-coverage-clean
+distclean-local: code-coverage-dist-clean
 
 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
 
diff --git a/tepl/Makefile.am b/tepl/Makefile.am
index ce7ca7e..b7d4c4a 100644
--- a/tepl/Makefile.am
+++ b/tepl/Makefile.am
@@ -1,4 +1,6 @@
-@CODE_COVERAGE_RULES@
+include $(top_srcdir)/aminclude_static.am
+clean-local: code-coverage-clean
+distclean-local: code-coverage-dist-clean
 
 AM_CPPFLAGS =                          \
        -DDATADIR=\""$(datadir)"\"      \
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index c0389d5..f3a218d 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -1,4 +1,6 @@
-@CODE_COVERAGE_RULES@
+include $(top_srcdir)/aminclude_static.am
+clean-local: code-coverage-clean
+distclean-local: code-coverage-dist-clean
 
 @VALGRIND_CHECK_RULES@
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]