%% Chad Loder <[EMAIL PROTECTED]> writes:
cl> Well, I think I found the source of the problem. I'm not
cl> sure if this should be considered a bug or not, but the
cl> tokenizing functions do not consider whether the separating
cl> whitespace has been escaped or not.
The short answer is, you can't manage filenames with whitespace in them
in GNU make (or any other make, really). The simplest thing to do is
rename your files and directories :(.
The longer answer is, to do so you have to replace the space with some
other character for manipulation in the makefile, then _only_ at the
last second (in the command script itself, typically) can you convert it
back using $(subst).
Note that make can't just use \ to escape a space; there are far too
many variables and functions where the \ is used now and expected to be
a literal. At one time (a _long_ time ago) it might have been possible,
now it's impossible.
Further, any attempt at using another escape char would have to be
seriously considered. Note that it's not just functions where this
would have to be done, but everywhere. There are lots of places where
whitespace is considered to be a delimiter with no attention paid to
escape chars.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist