Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): clean up coverage files even if USE_CO...



details:   https://anonhg.NetBSD.org/src/rev/896126a83f70
branches:  trunk
changeset: 937174:896126a83f70
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Aug 10 18:20:28 2020 +0000

description:
make(1): clean up coverage files even if USE_COVERAGE is not set

diffstat:

 usr.bin/make/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0851f1004db3 -r 896126a83f70 usr.bin/make/Makefile
--- a/usr.bin/make/Makefile     Mon Aug 10 18:19:58 2020 +0000
+++ b/usr.bin/make/Makefile     Mon Aug 10 18:20:28 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.84 2020/08/09 05:51:04 rillig Exp $
+#      $NetBSD: Makefile,v 1.85 2020/08/10 18:20:28 rillig Exp $
 #      @(#)Makefile    5.2 (Berkeley) 12/28/90
 
 PROG=  make
@@ -46,8 +46,8 @@
 .if ${USE_COVERAGE} == "yes"
 COPTS+=                --coverage -O0 -ggdb
 LDADD+=                --coverage
-CLEANFILES+=   ${SRCS:.c=.gcda} ${SRCS:.c=.gcno} ${SRCS:=.gcov}
 .endif
+CLEANFILES+=   *.gcda *.gcno *.gcov
 
 # Whether to compile using the Undefined Behavior Sanitizer (GCC, Clang).
 USE_UBSAN?=    no



Home | Main Index | Thread Index | Old Index