On Thu, Jun 30, 2005 at 01:36:57PM -0400, Paul D. Smith wrote:
> %% Ken Smith <[EMAIL PROTECTED]> writes:
> 
>   ks> When I want to deal with strings in gmake which may have
>   ks> whitespace, I generally use $(subst) to replace the whitespace
>   ks> with some other non-whitespace token which I can parse out at the
>   ks> last minute just before I need to use it in its original form.
> 
> This is the other option of course.
> 
> The problem is that make won't know about this, so you end up having to
> create a lot of temporary files to be sure that the timestamps are
> correct.

The above method is the one I apply to strings in general when I must
preserve whitespace which includes but isn't exclusive to filenames.
I think I understand what you mean about timestamps but could you
elaborate?  Do you see the problem you mention in the example I sent?

  Ken Smith

> 
> -- 
> -------------------------------------------------------------------------------
>  Paul D. Smith <[EMAIL PROTECTED]>          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


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

Reply via email to