From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 10:13:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DC4216A4CE for ; Sat, 31 Jan 2004 10:13:53 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFDE343D2D for ; Sat, 31 Jan 2004 10:13:51 -0800 (PST) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id i0VIDY218385; Sat, 31 Jan 2004 10:13:34 -0800 From: Kent Stewart To: ecrist@adtechintegrated.com, Chris , Rishi Chopra Date: Sat, 31 Jan 2004 10:13:33 -0800 User-Agent: KMail/1.5.4 References: <401B3B5D.1000302@cal.berkeley.edu> <200401302344.07222.racerx@makeworld.com> <200401310745.50738.ecrist@adtechintegrated.com> In-Reply-To: <200401310745.50738.ecrist@adtechintegrated.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401311013.33450.kstewart@owt.com> cc: questions@freebsd.org Subject: Re: Make Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 18:13:53 -0000 On Saturday 31 January 2004 05:45 am, Eric F Crist wrote: > On Friday 30 January 2004 11:43 pm, Chris wrote: > > On Friday 30 January 2004 11:38 pm, Rishi Chopra wrote: > > > Is there any way to run a 'clean' command to remove 'WORK' > > > directories from the ports tree after the fact? > > > > Sure - > > portsclean -CDD > > > > To find out what the flags are: man portsclean > > The command I learned from this list is the following: > # cd /usr/ports > # make -DNOCLEANDEPENDS clean > I thought this was an important enough option to simplify and so I created an alias to do the work. The alias depends on the shell and for csh it is as follows: alias makednc make -DNOCLEANDEPENDS clean Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html