From owner-freebsd-current Mon Oct 7 19: 5: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1543737B401 for ; Mon, 7 Oct 2002 19:05:01 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66EF443E97 for ; Mon, 7 Oct 2002 19:05:00 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g9824wpk074221 for ; Mon, 7 Oct 2002 20:04:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 07 Oct 2002 20:04:45 -0600 (MDT) Message-Id: <20021007.200445.132068030.imp@bsdimp.com> To: FreeBSD-current@FreeBSD.org Subject: Re: Removing old binaries From: "M. Warner Losh" In-Reply-To: <20021008015928.GO57557@wantadilla.lemis.com> References: <20021008012532.GF57557@wantadilla.lemis.com> <20021008015928.GO57557@wantadilla.lemis.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'd be inclined to just have a file with the a list and do something like the following at the end of Makefile.inc1, just after we do the sendmail install. .if (PURGE_OBSOELETE_FILES) @rm -fr `cat /etc/obsolete` .else if (SAVE_ONSOLETE_FILES) @mkdir /usr/obsolete @mv -f `cat /etc/obsolete` /usr/obsolete .endif Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message