DragonFly commits List (threaded) for 2005-03
Re: cvs commit: src/usr.bin/make/tests/variables/t2 expected.stdout test.sh
Simon 'corecode' Schubert wrote:
On 03.03.2005, at 20:13, Max Okumoto wrote:
okumoto 2005/03/03 11:13:01 PST
DragonFly src repository
usr.bin/make/tests/variables/t2 expected.stdout test.sh
My regression test had a bug in it. Quoting a value in a Makefile
causes make(1) to treat it as one word.
APPLE = "AAA AAA AAA" # one word
ORANGE = AAA AAA AAA # three words
I'm sorry? I never noticed that. Is that because of your changes or is
it just an effect with sh's parsing?
I always thought that make would parse (well, at least treat as)
FOO= "POO PAA PEE"
into <"POO>, <PAA>, <PEE">.
maybe i'm completely wrong here
Nope, it looks like that has been the behavior. I tested this on
FreeBSD 4.10 system. It is the behavior of make(1) parsing of
values assigned to variables. I was just as surprised.
Hey I am glad other people are reading my commit messages :-)