help-make
[Top][All Lists]
Advanced

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

RE: Filtering ${.VARIABLES} ?


From: Dave Korn
Subject: RE: Filtering ${.VARIABLES} ?
Date: Fri, 22 Jun 2007 16:14:42 +0100

On 22 June 2007 15:57, John Graham-Cumming wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dave Korn wrote:
>>   Ah, so although there is no qualitative difference between functions and
>> variables, you have a naming scheme you are using that will allow you to
>> distinguish them.  Then you can make it work: you need a $(lower ...)
>> function, and you need to do a $(foreach var,$(.VARIABLES},...), and in the
>> foreach you need to test if $(lower $(var)) and $(var) are different or the
>> same, and only append the text of $(var) if they're not the same.  You
>> should be able to find functions in GMSL that'll help you with this.
> 
> The function is lc in GMSL (http://gmsl.sf.net).


.. and 'sne' for the string inequality test.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....





reply via email to

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