From owner-freebsd-ports Fri Nov 2 11:53:43 2001 Delivered-To: freebsd-ports@freebsd.org Received: from straylight.ringlet.net (discworld.nanolink.com [217.75.135.248]) by hub.freebsd.org (Postfix) with SMTP id 075BA37B410 for ; Fri, 2 Nov 2001 11:53:37 -0800 (PST) Received: (qmail 14946 invoked by uid 1000); 2 Nov 2001 19:53:21 -0000 Date: Fri, 2 Nov 2001 21:53:21 +0200 From: Peter Pentchev To: Doug Barton Cc: walter@pelissero.org, ports@FreeBSD.ORG Subject: Re: make clean Message-ID: <20011102215321.B1063@straylight.oblivion.bg> Mail-Followup-To: Doug Barton , walter@pelissero.org, ports@FreeBSD.ORG References: <200110291311.f9TDBA033787@pelissero.org> <20011030093535.E592@jonc.itouch> <15325.64572.190371.554449@hyde.lpds.sublink.org> <3BE2E9FE.F791695C@DougBarton.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BE2E9FE.F791695C@DougBarton.net>; from DougB@DougBarton.net on Fri, Nov 02, 2001 at 10:46:22AM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Nov 02, 2001 at 10:46:22AM -0800, Doug Barton wrote: > > > On Mon, Oct 29, 2001 at 01:11:10PM +0000, Walter C. Pelissero wrote: > > > > Wouldn't make sense if Makefile in /usr/ports directory had > > > > NOCLEANDEPENDS=yes set by default? > > We just covered this a couple weeks ago. The fastest way to clean your > ports directory is: > > find /usr/ports -type d -name work | xargs rm -r You might even add -maxdepth 3 to the find options, so it does not even try to descend within the work directories themselves, and waste a lot of time on biiig source trees. > There is no point in "optimizing" make clean in /usr/ports because no > matter how much more efficient you make it, you still have to deal with > a lot of make overhead that can be avoided using the above method. True, true.. :) G'luck, Peter -- This sentence no verb. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message