Date: Fri, 26 Apr 2002 13:56:40 +0300 From: Peter Pentchev <roam@ringlet.net> To: Doug Barton <DougB@FreeBSD.org> Cc: Maxime Henrion <mux@FreeBSD.org>, freebsd-ports@FreeBSD.org Subject: Re: patch to have make clean not recurse in ${PORTSDIR} Message-ID: <20020426135640.E59183@straylight.oblivion.bg> In-Reply-To: <20020424191430.W62277-100000@zoot.corp.yahoo.com>; from DougB@FreeBSD.org on Wed, Apr 24, 2002 at 07:16:48PM -0700 References: <20020424224454.GM88736@elvis.mu.org> <20020424191430.W62277-100000@zoot.corp.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--ZInfyf7laFu/Kiw7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 24, 2002 at 07:16:48PM -0700, Doug Barton wrote: > On Wed, 24 Apr 2002, Maxime Henrion wrote: >=20 > > Currently, if you do a ``make clean'' in /usr/ports, it will recurse > > through each port's dependencies and clean them too. >=20 > This has been discussed at great length on various lists. The two > answers to your question are, A) You can already do what you want to do, > with an option that allows you NOT to do it if for some reason you > actually WANT to repetitively clean dependencies, and B) The fastest way > to clean up your ports tree is not to use make at all, it's: >=20 > find /usr/ports -type d -name work -exec rm -r {} \; FWIW, this could be further speeded up by -mindepth 3 -maxdepth 3, and it would be *much* cheaper on child processes if | xargs rm -rf is used instead of the -exec. Oh, and yes, there are many other ways to achieve the same :) Yes, I know the door is that-a-way.. what's your point? :P > Therefore, with all due respect, I think this patch is a step in the wrong > direction. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am the meaning of this sentence. --ZInfyf7laFu/Kiw7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzJMmcACgkQ7Ri2jRYZRVN0lACeIyXRnWW7hahq9k2UCAoRbvyp fL0AnRcshYr3h8O0u/D8HTnv+pTwqLs5 =fWMg -----END PGP SIGNATURE----- --ZInfyf7laFu/Kiw7-- 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?20020426135640.E59183>