Make Syntax

Warren Block wblock at wonkity.com
Sat Jan 31 07:25:07 PST 2004


On Fri, 30 Jan 2004, Rishi Chopra wrote:

> Is there any way to run a 'clean' command to remove 'WORK' directories
> from the ports tree after the fact?

Sure.

# make install clean

actually does several steps; you can separate them by just using the
individual make targets.  To clean a port and its dependencies, cd to
the individual port directory and use the "clean" target alone:

# make clean

See 'man ports' for a list of all the make targets.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list