tech-toolchain archive

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

Re: make: empty lhs for SysV style subst



On Fri, 04 Mar 2011, Simon J. Gerraty wrote:
Will this do the right thing in the presence of changes to the way words are separated (:tsX, :tW, and friends)?

This is what our make would currently do with:

$ make -V '${one two three:L:tsX:=bar}'
oneXtwoXthreebar
$ make -V '${one two three:L:tW:=bar}'
one two threebar

and the patched version does the same.
But it now gets the correct result for the empty var case.

That looks fine to me.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index