Date: Sun, 19 Nov 2000 15:11:38 +0800 From: Jing-Tang Keith Jang <keith@bsdvm.jtjang.idv.tw> To: stable@FreeBSD.ORG Subject: Re: cd /usr/ports; make clean Message-ID: <20001119151138.A7434@bsdvm.jtjang.idv.tw> In-Reply-To: <20001118230305.A83848@evilcode.com>; from j@evilcode.com on Sat, Nov 18, 2000 at 11:03:05PM -0800 References: <200011190635.eAJ6ZRS94516@grumpy.dyndns.org> <20001118230305.A83848@evilcode.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/18/00, James wrote: > On Sun, Nov 19, 2000 at 12:35:27AM -0600, David Kelly wrote: > > # find /usr/ports -type d -name work -print -execdir make clean \; -prune > > > > is much faster than "make clean" from the top. It seems to work OK if a > > clean target is put in /usr/ports/Makefile just prior to the .include > > <bsd.port.subdir.mk> > > Or for a much faster solution: > find /usr/ports -type d -name work -prune -print -exec rm -r {} \; why not just "cd /usr/ports; rm -fr */*/work"? -- Keep it simple and stupid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001119151138.A7434>