Subject: Re: CVS commit: src/usr.bin/crunch/crunchgen
To: James Chacon , Luke Mewburn <lukem@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: source-changes
Date: 01/31/2005 13:38:11
On Mon, Jan 31, 2005 at 01:31:19 -0600, James Chacon wrote:

> On Mon, Jan 31, 2005 at 06:27:01PM +1100, Luke Mewburn wrote:
[...]
> > I added some debug code in that target's { ... } shell block
> > and noticed that the pwd(1) was ${.CURDIR} not ${.OBJDIR}.
> > I didn't investigate why that was the case; I just fixed it
> > in the simplest solution at the time.
> 
> Ahh ok. I'll dig further into make then as I think it should have 
> "done the right thing" there with directories. All -j really should have
> caused was out of order dependency execution (which is happening) and
> the entire target command slurping into 1 shell script (which also seems
> to be the case). It's something w. dependall's explicit cd ${.CURDIR} that
> seems to throw something off here.

This sounds like bin/22559, though I haven't looked...


SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen