Make Syntax

Kent Stewart kstewart at owt.com
Sat Jan 31 10:13:53 PST 2004


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



More information about the freebsd-questions mailing list