axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] ENV


From: root
Subject: Re: [Axiom-developer] ENV
Date: Wed, 22 Nov 2006 12:35:54 -0500

> > The use of ENV in the Makefiles conflicts with established practice
> > with shells (that are POSIXilly correct).  
> 
> And we don't export ENV to submakes, so I don't know if it's doing anything.

The name ENV predates POSIX. Since we control everything about the build
I don't think it matters but there would be no harm in changing it everywhere.

In a shell if you write a line like:

 export FOO=bar command

the "command" can see the FOO shell variable. This is used everywhere
to collect up shell variables used in axiom and pass them down the
tree of calls to make. At each level we dynamically build up the
ENV variable list and then prepend it to the make calls which has
the effect of making the shell variables dynamically visible in the
subtree of makes.

Tim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]