[Telepathy-commits] [telepathy-sofiasip/master] Moved the lcov cleanup rule to tools/lcov.am

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Tue Jan 27 09:15:32 PST 2009


---
 Makefile.am   |    4 +---
 tools/lcov.am |    4 ++++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 3f43106..242d97d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,6 +34,4 @@ dist-hook:
 include tools/lcov.am
 LCOV_CHECK_ARGS = CHECK_TWISTED_SLEEP=6
 
-clean-local:
-	-rm -rf lcov.html
-	-rm -f lcov.info*
+clean-local: lcov-clean
diff --git a/tools/lcov.am b/tools/lcov.am
index 7384f1b..09f2534 100644
--- a/tools/lcov.am
+++ b/tools/lcov.am
@@ -21,4 +21,8 @@ lcov-check:
 	$(MAKE) check $(LCOV_CHECK_ARGS)
 	$(MAKE) lcov-report
 
+lcov-clean:
+	-rm -rf $(top_builddir)/lcov.html
+	-rm -f $(top_builddir)/lcov.info*
+
 ## vim:set ft=automake:
-- 
1.5.6.5




More information about the telepathy-commits mailing list