Date: Fri, 2 Nov 2001 21:53:21 +0200 From: Peter Pentchev <roam@ringlet.net> To: Doug Barton <DougB@DougBarton.net> Cc: walter@pelissero.org, ports@FreeBSD.ORG Subject: Re: make clean Message-ID: <20011102215321.B1063@straylight.oblivion.bg> In-Reply-To: <3BE2E9FE.F791695C@DougBarton.net>; from DougB@DougBarton.net on Fri, Nov 02, 2001 at 10:46:22AM -0800 References: <200110291311.f9TDBA033787@pelissero.org> <20011030093535.E592@jonc.itouch> <15325.64572.190371.554449@hyde.lpds.sublink.org> <3BE2E9FE.F791695C@DougBarton.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011102215321.B1063>