[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing rule success
From: |
Paul Smith |
Subject: |
Re: Testing rule success |
Date: |
Mon, 30 Jul 2007 18:42:40 -0400 |
On Mon, 2007-07-30 at 10:47 -0500, David A. Greene wrote:
> > However with this you can't pass variable assignments up to make,
> > since changes in a child's environment have no effect in the parent.
>
> Right, and this is exactly one of the things I want to do. Is this
> even possible?
Sure; what you did (using $(eval VAR = value) in a command script works
as you'd expect: that variable is set when the command script is
expanded. Note that older versions of GNU make might not support eval
or support it entirely correctly.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist