5 messages in com.perforce.jamming[jamming] SubDir rule
FromSent OnAttachments
Craig Allsop26 Mar 2003 14:06 
Matze Braun26 Mar 2003 16:49 
Craig Allsop26 Mar 2003 17:28 
Ingo Weinhold27 Mar 2003 01:43 
Christopher Seiwald09 Apr 2003 09:51 
Subject:[jamming] SubDir rule
From:Ingo Weinhold (bone@cs.tu-berlin.de)
Date:03/27/2003 01:43:30 AM
List:com.perforce.jamming

On Thu, 27 Mar 2003, Craig Allsop wrote:

----- Original Message -----

It would be helpful if the SubDir rule called a user defined rule on it's tail. This may be used to define/redefine extra variables. The SubDir rule can be redefined by the user however, it's first invocation cannot be redefined since it is the bootstrap for jamrules.

Hey, isn't that the idea I proposed not too long ago. :-P No need to say, that I'm all for it. :-)

Don't we have the same problem with a user defined rule? The first place where you can define it Jamrules which is reached after the SubDir rule has been called.

:-)

By the time jam reaches the user defined rule it will have already read the jamrules and redefined it. My suggestion is something like this at the end of the normal SubDir rule:

UserSubDir $(<) ;

It wouldn't even be necessary to pass the parameters, since at that time SUBDIR and SUBDIR_TOKENS are already set up. Although, the name of the TOP variable may be of interest.

CU, Ingo