diff options
author | Paul Smith <psmith@gnu.org> | 2012-03-03 18:45:08 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2012-03-03 18:45:08 +0000 |
commit | 88f1bc8b55b9f5abf35fdf974310c1063fa41068 (patch) | |
tree | be70080dda3724b65809d43052f21550a59cb29a /NEWS | |
parent | 6405534814f04899890a2d932db9a4985fd772fe (diff) | |
download | gunmake-88f1bc8b55b9f5abf35fdf974310c1063fa41068.tar.gz |
Modify backslash/newline handling for POSIX.
We fixed Savannah 16670 but that broke previously-working makefiles
that relied on the GNU make behavior. The POSIX behavior doesn't
seem to me to be better, and can be obtained using GNU make as well,
so put it back as the default behavior and require .POSIX to
get the POSIX behavior.
Add a new section to the manual discussing backslash/newline handling.
Update the test suite.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -16,11 +16,12 @@ A complete list of bugs fixed in this version is available here: http://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=101&set=custom * WARNING: Backward-incompatibility! - This version of make adheres to the POSIX backslash/newline handling, - introducing the following differences: - * Each backslash/newline in a variable value is replaced with a space; - multiple consecutive backslash/newlines do not condense into one space. - * In recipes, a recipe prefix following a backslash-newlines is removed. + If .POSIX is specified, then make adheres to the POSIX backslash/newline + handling requirements, which introduces the following changes to the + standard backslash/newline handling in non-recipe lines: + * Any trailing space before the backslash is preserved + * Each backslash/newline (plus subsequent whitespace) is converted to a + single space * New command line option: --trace enables tracing of targets. When enabled the recipe to be invoked is printed even if it would otherwise be suppressed |