Re: Cleaning up after installing packages

Trey Sizemore <[email protected]>
Newsgroups gmane.os.netbsd.help
Organization none
Message-ID <[email protected]>
On Wed, 13 Dec 2006 09:15:21 -0700
"Jason V. Miller" <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.