Subject: Re: CVS commit: src/usr.bin/crunch/crunchgen
To: Luke Mewburn <lukem@NetBSD.org>
From: James Chacon <jmc@NetBSD.org>
List: source-changes
Date: 01/31/2005 01:16:12
On Sun, Jan 30, 2005 at 11:04:33PM +0000, Luke Mewburn wrote:
> 
> Module Name:	src
> Committed By:	lukem
> Date:		Sun Jan 30 23:04:33 UTC 2005
> 
> Modified Files:
> 	src/usr.bin/crunch/crunchgen: crunchgen.c
> 
> Log Message:
> Explicitly cd to the .OBJDIR in the  ${PROG}.strip  target.
> This fixes the "make -j N dependall" build issues people were
> seeing in src/rescue, that appears to have been introduced
> in rev 1.62.

Why is this needed? Even for -j isn't make always going to do a chdir(2)
into $.OBJDIR before exec'ing the target commands?

(I haven't dug into make sources in a while so I'm working from memory and
the existing man page).

James