RE: Excessive $(strip)

2014-04-02 Thread Martin Dorey
> 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." Case closed? -Original Message- F

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