At 11:12 AM 1/5/2007, Dave Korn wrote:
  And indeed, judicious use of $(strip ....) to normalise/canonicalise the
whitespace in a variable can get round that anyway, which is helpful if you
want to allow users to supply manual overrides in environment variables (or
make variables set on the command-line invocation), since anything entered
manually might well have a stray space or two in it.

Even more important in our case since these Makefiles need to support clearmake (in its GNU-compatible mode). Since clearmake compares build scripts in addition to file versions, any stray spaces can cause a spurious rebuild. This is where $(strip) is extremely handy.

-David Boyce



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

Reply via email to