help-make
[Top][All Lists]
Advanced

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

Re: Filtering ${.VARIABLES} ?


From: John Graham-Cumming
Subject: Re: Filtering ${.VARIABLES} ?
Date: Fri, 22 Jun 2007 16:56:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104

-----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).

John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGe+MuLphrp73n/hARAgBzAJ0doTFTyuWMLSYQQiFIDEccXHozNQCfTEx8
r1HeLBWi9xHIJfYh3hyV4tE=
=nh86
-----END PGP SIGNATURE-----




reply via email to

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