Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 10:13:33 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        ecrist@adtechintegrated.com, Chris <racerx@makeworld.com>, Rishi Chopra <rchopra@cal.berkeley.edu>
Cc:        questions@freebsd.org
Subject:   Re: Make Syntax
Message-ID:  <200401311013.33450.kstewart@owt.com>
In-Reply-To: <200401310745.50738.ecrist@adtechintegrated.com>
References:  <401B3B5D.1000302@cal.berkeley.edu> <200401302344.07222.racerx@makeworld.com> <200401310745.50738.ecrist@adtechintegrated.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401311013.33450.kstewart>