[Telepathy-commits] [telepathy-qt4/master] lcov.am: remove the right file to magically make lcov work

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Nov 28 03:57:53 PST 2008


The fact that it compiles into .libs makes lcov very confused, apparently.
---
 tools/lcov.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tools/lcov.am b/tools/lcov.am
index 73a7cf7..57c4d6b 100644
--- a/tools/lcov.am
+++ b/tools/lcov.am
@@ -2,7 +2,8 @@ lcov-reset:
 	lcov --directory @top_srcdir@ --zerocounters
 
 lcov-report:
-	rm -f tests/pinocchio/lib/.libs/lib.gcda
+# this rm is a nasty hack
+	rm -f tests/pinocchio/.libs/lib.gcda
 	lcov --directory @top_srcdir@ --capture \
 		--output-file @top_builddir@/lcov.info
 	$(mkdir_p) @top_builddir@/lcov.html
-- 
1.5.6.5




More information about the Telepathy-commits mailing list