Subject: Re: pkgsrc make clean speedup
To: Simon J. Gerraty <sjg@crufty.net>
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
List: tech-pkg
Date: 12/09/2002 19:09:22
On Fri, Dec 06, 2002 at 10:33:12AM -0800, Simon J. Gerraty wrote:
> >calls to make :)  So my only question is if it does the right thing if you
> >have something like
> 
> >WRKOBJDIR=             /u2/disk1/build/pkgsrc
> 
> You could optimize this further - at least from the top level, by
> noting that WRKOBJDIR is of that form, and simply: rm -rf ${WRKOBJDIR}/*
> I use that model for a top level 'destroy' target (different project) 
> that is at least 3 times faster (including the subsequent 
> 'make obj' pass) than doing 'make clean'.

But this leaves the pkgsrc/category/package/work* symlinks...
 Thomas

-- 
Thomas Klausner - wiz@danbala.ifoer.tuwien.ac.at
What is wanted is not the will to believe, but the will to find
out, which is the exact opposite. -- Bertrand Russell