Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  6 Nov 2000 02:08:10 +1100 (EST)
From:      andrew@ugh.net.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/22623: make clean doesn't remove core files
Message-ID:  <20001105150810.E38CAA82B@starbug.ugh.net.au>

next in thread | raw e-mail | index | archive | help

>Number:         22623
>Category:       bin
>Synopsis:       make clean doesn't remove core files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 05 07:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andrew
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
UgH!
>Environment:

	

>Description:

/usr/share/mk/bsd.README, when refering to bsd.prog.mk, states:

clean:
                remove the program, any object files and the files a.out,
				Errs, errs, mklog, and ${PROG}.core.

however it only seem to do ${PROG} and the object files.

>How-To-Repeat:

Go to a directory containing a Makefile that .includes bsd.prog.mk
touch a.out ${PROG}.core etc
make clean

>Fix:


--- bsd.prog.mk.orig	Mon Nov  6 01:04:33 2000
+++ bsd.prog.mk	Mon Nov  6 01:05:34 2000
@@ -67,7 +67,7 @@
 .MAIN: all
 all: objwarn ${PROG} all-man _SUBDIR
 
-CLEANFILES+= ${PROG} ${OBJS}
+CLEANFILES+= ${PROG} ${OBJS} ${PROG}.core a.out Errs errs mklog
 
 .if defined(PROG)
 _EXTRADEPEND:

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001105150810.E38CAA82B>