From owner-freebsd-stable Sat Nov 18 23:12:20 2000 Delivered-To: freebsd-stable@freebsd.org Received: from bsdvm.jtjang.idv.tw (121.c74.ethome.net.tw [210.58.74.121]) by hub.freebsd.org (Postfix) with ESMTP id C880637B479 for ; Sat, 18 Nov 2000 23:12:13 -0800 (PST) Received: (from keith@localhost) by bsdvm.jtjang.idv.tw (8.11.1/8.9.3) id eAJ7Bd207637 for stable@FreeBSD.ORG; Sun, 19 Nov 2000 15:11:39 +0800 (CST) (envelope-from keith) Date: Sun, 19 Nov 2000 15:11:38 +0800 From: Jing-Tang Keith Jang To: stable@FreeBSD.ORG Subject: Re: cd /usr/ports; make clean Message-ID: <20001119151138.A7434@bsdvm.jtjang.idv.tw> Reply-To: keith@freebsd.sinica.edu.tw Mail-Followup-To: stable@FreeBSD.ORG References: <200011190635.eAJ6ZRS94516@grumpy.dyndns.org> <20001118230305.A83848@evilcode.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001118230305.A83848@evilcode.com>; from j@evilcode.com on Sat, Nov 18, 2000 at 11:03:05PM -0800 X-Operating-System: FreeBSD bsdvm.jtjang.idv.tw 4.2-BETA FreeBSD 4.2-BETA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > > > 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