From owner-freebsd-bugs Sun Nov 5 7:10: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B170D37B4D7 for ; Sun, 5 Nov 2000 07:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA94280; Sun, 5 Nov 2000 07:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 5860137B4C5 for ; Sun, 5 Nov 2000 07:08:18 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id E38CAA82B; Mon, 6 Nov 2000 02:08:10 +1100 (EST) Message-Id: <20001105150810.E38CAA82B@starbug.ugh.net.au> Date: Mon, 6 Nov 2000 02:08:10 +1100 (EST) From: andrew@ugh.net.au Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/22623: make clean doesn't remove core files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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