[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Excessive $(strip)
From: |
Gisle Vanem |
Subject: |
Re: Excessive $(strip) |
Date: |
Thu, 3 Apr 2014 16:37:28 +0200 |
"Martin Dorey" <address@hidden> wrote:
this also removes the newlines.
...
IMHO make 4.x has a too strict definition of white-space.
http://pubs.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap07.html sayeth:
"In the POSIX locale, at a minimum, the <space>, <form-feed>, <newline>,
<carriage-return>, <tab>, and <vertical-tab> shall be included."
Then the make manual is a bit sloppy in the use of "whitespace".
E.g. from the man-page (3.3 Including Other Makefiles):
"Whitespace is required between include and the file names, and between file
names"
(plus section 5.9 etc. etc.)
So a:
include
foo.mak
---
should work if that definition was true everywhere, but it doesn't.
--gv