Subject: Re: Cleaning up after installing packages
To: Jason V. Miller <jmiller@securityfocus.com>
From: Trey Sizemore <trey@thesizemores.net>
List: netbsd-help
Date: 12/13/2006 11:48:32
On Wed, 13 Dec 2006 09:15:21 -0700
"Jason V. Miller" <jmiller@securityfocus.com> wrote:

> On Wed, Dec 13, 2006 at 10:15:33AM -0600, Jeremy C. Reed wrote:
> >   Once you're finished with a package, you can clean the work
> > directory by running "make clean". If you want to clean the work
> > directories of all dependencies too, use "make clean-depends".
> 
> Likewise, if you'd also like to delete the distribution files
> (typically the source .tgz files, patches, etc. downloaded for the
> package), you need to run ``make distclean''.
> 
> These files are stored in the distfiles/ directory under the pkgsrc
> root. You can find out how much disk space they are taking up by
> doing something like ``du -hs /usr/pkgsrc/distfiles'', adjusted
> accordingly for your installation of pkgsrc.
> 
> J.
> 

So could installing a package and subsequent cleaning be done in one
fell swoop with?:

# make install clean clean-depends distclean

-- 
Cheers,
Trey
----
 
Pure drivel tends to drive ordinary drivel off of the TV screen.
 
Linux laptop 2.6.16.21-0.25-default i686 GNU/Linux
 11:47am  up 1 day 21:15,  5 users,  load average: 1.57, 1.83, 1.50