[gnome-keyring] Remove any coverage files from docs directory before prepping coverage.



commit 5696161ae6c543457c092c807e6129646b896676
Author: Stef Walter <stef memberwebs com>
Date:   Tue Jan 4 16:55:12 2011 -0600

    Remove any coverage files from docs directory before prepping coverage.
    
    Otherwise we'd get errors about missing source files and
    the like when doing 'make coverage'

 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 5356b42..c2dbf8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,6 +66,7 @@ install-pam:
 if WITH_COVERAGE
 coverage:
 	mkdir -p testing/coverage
+	$(LCOV) --directory docs/ --zerocounters
 	$(LCOV) --directory . --capture --output-file testing/coverage.info
 	$(GENHTML) --output-directory testing/coverage testing/coverage.info
 	$(LCOV) --directory . --zerocounters
@@ -79,4 +80,4 @@ endif
 if WITH_GNU_MAKE
 # Include this local file if it exists
 -include Makefile.local
-endif
\ No newline at end of file
+endif



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