Bug 13358

Summary: make clean in bsd.obj.mk no longer properly removes *.core and others
Product: Base System Reporter: howardjp <howardjp>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description howardjp 1999-08-24 22:50:01 UTC
/usr/src/share/mk/bsd.README describes ``make clean'' as:

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

However, make clean does not remove a.out, Errs, errs, mklog and
${PROG}.core any longer.

Fix: Below is a diff which modifies /usr/src/share/mk/bsd.{prog,obj}.mk and
adds these files to CLEANFILES, the list of files which should be deleted.
I do not know if changes need to make to CLEANDIRS, I suspect not.  I
tested this are varius targets in /usr/src/bin and it worked every time.
Apply this diff to /usr/src/share/mk.  Thanks and have a nice day :)
How-To-Repeat: 
cd /usr/src/bin/cat (or anything else) and ``make clean''.  See what it
lists as files to delete.
Comment 1 howardjp 1999-08-24 23:07:59 UTC
This is a duplicate of bin/13350.  My mailer goofed and I resent.  
Apparently the first worked afterall.
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-24 23:13:48 UTC
State Changed
From-To: open->closed

Dupicate of PR 13350.