Simplify coverage rules
authorMatthias Clasen <mclasen@redhat.com>
Sat, 21 Dec 2013 21:16:16 +0000 (16:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 21 Dec 2013 21:16:28 +0000 (16:16 -0500)
This works just fine, no need for the manual removal of the
info file.

glib.mk

diff --git a/glib.mk b/glib.mk
index cbae1f4..00f2e42 100644 (file)
--- a/glib.mk
+++ b/glib.mk
@@ -59,9 +59,7 @@ genlcov:
        @echo "file://$(abs_top_builddir)/glib-lcov/index.html"
 
 lcov-clean:
-       $(AM_V_GEN) $(LTP) --quiet --directory $(top_builddir) -z; \
-         rm -rf glib-lcov.info glib-lcov; \
-         find -name '*.gcda' -print | xargs rm
+       $(AM_V_GEN) $(LTP) --quiet --directory $(top_builddir) -z
 
 # run tests in cwd as part of make check
 check-local: test-nonrecursive