On Monday 30 July 2007 10:11, Brian Dessent wrote:

> Is setting VAR={true,false} the actual thing you want to accomplish or
> is that just for illustrative purposes?  Because if you just want to
> perform conditional actions it seems to me that using the shell is the
> easiest way:

Just illustrative.  I want to do more complicated things.

> some_rule: some_file
>       if [ -f some_file ]; then \
>         ... \
>       else \
>         ... \
>       fi

Right.

> 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?

                                           -Dave


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to