make-w32
[Top][All Lists]
Advanced

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

Re: Environment variables in makefiles with DOS


From: Eli Zaretskii
Subject: Re: Environment variables in makefiles with DOS
Date: Fri, 18 May 2007 18:22:41 +0300

> Date: Fri, 18 May 2007 14:33:37 +0000
> From: Greg Chicares <address@hidden>
> 
> Might this provide the optimal answer to the recurring questions
> about paths with embedded blanks?
> 
> $(dospath name...)
>   Return an alias for file 'name'. On systems that encourage
>   embedding blanks in paths, and provide an alias with no blanks,
>   return that alias if available; otherwise, return the argument.
>   All characters in 'name' are treated as part of a single argument,
>   so this function can even accommodate a name like "a, b, c".

Yikes!  I'd prefer a general solution that would work on other
platforms as well, not only on DOS/Windows.  After all, file names
with blanks find their way into Posix platforms also.




reply via email to

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