RE: Excessive $(strip)

2014-04-03 Thread Martin Dorey
> 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

Re: Excessive $(strip)

2014-04-03 Thread J.T. Conklin
"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 , , >> ,

RE: Excessive $(strip)

2014-04-03 Thread Martin Dorey
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

Re: Excessive $(strip)

2014-04-03 Thread Gisle Vanem
"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

RE: Excessive $(strip)

2014-04-02 Thread Martin Dorey
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

Excessive $(strip)

2014-04-02 Thread Gisle Vanem
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