help-make
[Top][All Lists]
Advanced

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

Re: Testing rule success


From: David A. Greene
Subject: Re: Testing rule success
Date: Mon, 30 Jul 2007 10:47:12 -0500
User-agent: KMail/1.9.1

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




reply via email to

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