Subject: Re: pkgsrc make clean speedup
To: None <mcmahill@mtl.mit.edu>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-pkg
Date: 12/06/2002 10:33:12
>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'.
--sjg