aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am.coverage
diff options
context:
space:
mode:
authorAllan LeSage <allanlesage@gmail.com>2012-03-27 16:14:48 -0500
committerAllan LeSage <allanlesage@gmail.com>2012-03-27 16:14:48 -0500
commit19971a3dde07ef40497b4f2fa70e6f065e6febc9 (patch)
treee5472e534437dc832aa78c1732eb946c594c037f /Makefile.am.coverage
parent605a57196945bac0e13787e0c00bf987da3d8063 (diff)
downloadayatana-indicator-sound-19971a3dde07ef40497b4f2fa70e6f065e6febc9.tar.gz
ayatana-indicator-sound-19971a3dde07ef40497b4f2fa70e6f065e6febc9.tar.bz2
ayatana-indicator-sound-19971a3dde07ef40497b4f2fa70e6f065e6febc9.zip
Cleaning up *.gcno during clean-local.
Diffstat (limited to 'Makefile.am.coverage')
-rw-r--r--Makefile.am.coverage17
1 files changed, 10 insertions, 7 deletions
diff --git a/Makefile.am.coverage b/Makefile.am.coverage
index 68bd5bb..fb97747 100644
--- a/Makefile.am.coverage
+++ b/Makefile.am.coverage
@@ -1,14 +1,22 @@
# Coverage targets
+.PHONY: clean-gcno clean-gcda \
+ coverage-html generate-coverage-html clean-coverage-html \
+ coverage-gcovr generate-coverage-gcovr clean-coverage-gcovr
+
+clean-local: clean-gcno clean-coverage-html clean-coverage-gcovr
+
if HAVE_GCOV
-.PHONY: clean-gcda
+clean-gcno:
+ @echo Removing old coverage instrumentation
+ -find -name '*.gcno' -print | xargs -r rm
+
clean-gcda:
@echo Removing old coverage results
-find -name '*.gcda' -print | xargs -r rm
-.PHONY: coverage-html generate-coverage-html clean-coverage-html
coverage-html: clean-gcda
-$(MAKE) $(AM_MAKEFLAGS) -k check
$(MAKE) $(AM_MAKEFLAGS) generate-coverage-html
@@ -21,14 +29,9 @@ generate-coverage-html:
clean-coverage-html: clean-gcda
-$(LCOV) --directory $(top_builddir) -z
-rm -rf coverage.info coveragereport
-
-.PHONY: clean-local
-clean-local: clean-coverage-html
-
if HAVE_GCOVR
-.PHONY: coverage-gcovr generate-coverage-gcovr clean-coverage-gcovr
coverage-gcovr: clean-gcda
-$(MAKE) $(AM_MAKEFLAGS) -k check
$(MAKE) $(AM_MAKEFLAGS) generate-coverage-gcovr