From owner-freebsd-current Sat Jul 6 16:25: 7 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 1678637B400 for ; Sat, 6 Jul 2002 16:25:06 -0700 (PDT) Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1445943E31 for ; Sat, 6 Jul 2002 16:25:05 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g66NP3Y59544; Sat, 6 Jul 2002 17:25:03 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g66NP1G88315; Sat, 6 Jul 2002 17:25:02 -0600 (MDT) (envelope-from imp@village.org) Date: Sat, 06 Jul 2002 17:24:08 -0600 (MDT) Message-Id: <20020706.172408.22142523.imp@village.org> To: paul@freebsd-services.com Cc: drosih@rpi.edu, tlambert2@mindspring.com, sheldonh@starjuice.net, current@FreeBSD.ORG Subject: Re: Removing perl in make world From: "M. Warner Losh" In-Reply-To: <1025955773.881.29.camel@lobster.originative.co.uk> References: <1025921146.881.16.camel@lobster.originative.co.uk> <1025955773.881.29.camel@lobster.originative.co.uk> X-Mailer: Mew version 2.1 on Emacs 21.1 / 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 In message: <1025955773.881.29.camel@lobster.originative.co.uk> Paul Richards writes: : A 'sysclean' target would be the same in my mind. If you're "within : spec" of what -current supports then running that target shouldn't hose : you. If you're outside spec then you need to take your own precautions. NetBSD has in its distribution sets things that look like: obsolete.mi obsolete.${ARCH} and its distribution tools remove the old cruft on installation of the newer distribution set. Something like the following would then put things right: sysclean: @ head -2 ${SRCDIR}/release/obsolete.mi | xargs rm @ head -2 ${SRCDIR}/release/obsolete.${MACHINE_ARCH} | xargs rm would be the FreeBSD way of saying something similar. However, the obsolete.mi file would get large with time :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message