[dconf/wip/reorg: 3/8] Makefile.am: clean up lcov code



commit 000a3513fcbb999d17626215bad06aaec2d018c3
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Jul 9 14:33:54 2012 -0400

    Makefile.am: clean up lcov code

 Makefile.am |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index aa0d525..270b8e1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,8 +12,7 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
 
 .PHONY: lcov lcov-clean
 # use recursive makes in order to ignore errors during check
-lcov:
-	-$(MAKE) $(AM_MAKEFLAGS) lcov-clean
+lcov: lcov-clean
 	-$(MAKE) $(AM_MAKEFLAGS) -k check
 	lcov --directory $(top_builddir) --capture --output-file dconf-lcov.info --test-name dconf --no-checksum --compat-libtool
 	LANG=C genhtml --prefix $(top_builddir) --output-directory lcov-html --legend --show-details dconf-lcov.info
@@ -24,9 +23,9 @@ lcov:
 clean-am: lcov-clean gcno-clean
 
 gcno-clean:
-	-find -name '*.gcno' -exec rm -f '{}' ';'
+	-find -name '*.gcno' -delete
 
 lcov-clean:
 	-lcov --directory $(top_builddir) -z
-	-find -name '*.gcda' -exec rm -f '{}' ';'
+	find -name '*.gcda' -delete
 	rm -rf lcov-html dconf-lcov.info



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