Diff between 71d8fda25b2176a5e6b288c868195bc57aaaf9f8 and 344cf10cb60c2031200be1c6618a0f2b7e2b8950

Changed Files

File Additions Deletions Status
Makefile.am +2 -8 modified

Full Patch

diff --git a/Makefile.am b/Makefile.am
index 5717c3d..d948398 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -793,8 +793,8 @@ ell/ell.h: Makefile
 maintainer-clean-local:
 	-rm -rf ell
 
-if COVERAGE
 clean-coverage:
+if COVERAGE
 	@lcov --directory $(top_builddir) --zerocounters
 	$(RM) -r coverage $(top_builddir)/coverage.info
 
@@ -803,15 +803,9 @@ coverage: check
 				--output-file $(top_builddir)/coverage.info
 	$(AM_V_at)$(MKDIR_P) coverage
 	@genhtml -o coverage/ $(top_builddir)/coverage.info
+endif
 
 clean-local: clean-coverage
 	-find $(top_builddir) -name "*.gcno" -delete
 	-find $(top_builddir) -name "*.gcda" -delete
 	$(RM) -r lib/bluetooth
-
-else
-clean-local:
-	-find $(top_builddir) -name "*.gcno" -delete
-	-find $(top_builddir) -name "*.gcda" -delete
-	$(RM) -r lib/bluetooth
-endif