> I'd say that make itself is sloppy wrt whitespace, where sometimes
> newlines are considered to be whitespace, othertimes not.
...
> the "word" family of functions do not.
Nice example. The source seems to draw a distinction between isblank,
terminology available, I learn, in C99, and the more
"Gisle Vanem" writes:
> "Martin Dorey" wrote:
>
>>> this also removes the newlines.
>>...
>>> IMHO make 4.x has a too strict definition of white-space.
>>
>> http://pubs.opengroup.org/onlinepubs/95399/basedefs/xbd_chap07.html
>> sayeth:
>>
>> "In the POSIX locale, at a minimum, the , ,
>> ,
bug-make-bounces+martin.dorey=hds@gnu.org
[mailto:bug-make-bounces+martin.dorey=hds@gnu.org] On Behalf Of Gisle Vanem
Sent: Thursday, April 03, 2014 07:37
To: bug-make@gnu.org
Subject: Re: Excessive $(strip)
"Martin Dorey" wrote:
>> this also removes the newline
"Martin Dorey" wrote:
this also removes the newlines.
...
IMHO make 4.x has a too strict definition of white-space.
http://pubs.opengroup.org/onlinepubs/95399/basedefs/xbd_chap07.html sayeth:
"In the POSIX locale, at a minimum, the , , ,
, , and shall be included."
Then the make ma
Original Message-
From: bug-make-bounces+martin.dorey=hds@gnu.org
[mailto:bug-make-bounces+martin.dorey=hds@gnu.org] On Behalf Of Gisle Vanem
Sent: Wednesday, April 02, 2014 05:11
To: bug-make@gnu.org
Subject: Excessive $(strip)
I'm a happy user of the $(file) function and multiline m
I'm a happy user of the $(file) function and multiline macros/variables
likes this:
..
define FOO_PACKAGE
exec_prefix=$(FOO_ROOT)
libdir=$${exec_prefix}/lib
includedir=$${exec_prefix}/inc
Version: $(FOO_VERSION)
Libs: $${libdir}/$(FOO_LIB)
endef
write_pkg:
$(file > ./foo.pc, $(strip $(FOO_P