summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-07-09 14:33:54 -0400
committerRyan Lortie <desrt@desrt.ca>2012-07-09 14:33:54 -0400
commit000a3513fcbb999d17626215bad06aaec2d018c3 (patch)
tree5d929fba051a88577d2aa01e7cd315c3623dd15a
parent27f10aa6d3889b0c41a47c69d998a2102cdc6e07 (diff)
downloaddconf-000a3513fcbb999d17626215bad06aaec2d018c3.tar.gz
Makefile.am: clean up lcov code
-rw-r--r--Makefile.am7
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