Limit cleanup of .gc{no,da} files to src and scripts subfolders

Other folders in the build tree might not be related to the strongSwan tree,
or are not even accessible.
This commit is contained in:
Martin Willi 2013-06-11 17:27:40 +02:00
parent a88cab095d
commit a5b63a3e5c
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ apidoc : Doxyfile
cov-reset-common: cov-reset-common:
@rm -rf $(top_builddir)/coverage @rm -rf $(top_builddir)/coverage
@find $(top_builddir) -name "*.gcda" -delete @find $(top_builddir)/{src,scripts} -name "*.gcda" -delete
if COVERAGE if COVERAGE
cov-reset: cov-reset-common cov-reset: cov-reset-common
@ -67,7 +67,7 @@ coverage:
endif endif
clean-local: cov-reset-common clean-local: cov-reset-common
@find $(top_builddir) -name "*.gcno" -delete @find $(top_builddir)/{src,scripts} -name "*.gcno" -delete
@rm -rf apidoc @rm -rf apidoc
.PHONY: cov-reset-common cov-reset cov-report coverage .PHONY: cov-reset-common cov-reset cov-report coverage