clean/distclean speedup
walter harms
wharms at bfs.de
Fri Mar 10 10:09:12 UTC 2006
hi all,
perhaps adding a '-type f' ? that would prevent a mistake
if someone has a directory with that name.
(since you use rm if would cause error but its better to be on the saver
side, just believe me).
re,
walter
Rob Landley wrote:
> On Thursday 09 March 2006 4:50 pm, Paul Fox wrote:
>> i know these targets aren't used _that_ often, but if we're
>> allowed to use xargs, this patch makes 'make clean' and 'make
>> distclean' somewhat faster. i won't apply this myself -- i'll
>> leave it to someone who feels more responsibility for the
>> makefiles than i'm willing to take. ;-)
>
> I was actually pondering merging the various "find" instances earlier today.
>
> I don't see a problem using xargs, it's susv3 and we supply a working version
> of it. (I have a rule of thumb that we should work without our own stuff.)
> I'll test it on RH9 in a bit to make sure there's no brain damage there, but
> for now:
>
> Applied.
>
> Rob
More information about the busybox
mailing list