summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2012-03-03 18:45:08 +0000
committerPaul Smith <psmith@gnu.org>2012-03-03 18:45:08 +0000
commit66f938ba6081b324df470d23c752144d70c3c3ab (patch)
treebe70080dda3724b65809d43052f21550a59cb29a /NEWS
parent6a00f44febd6e4809def577988c2325f9ae74c1e (diff)
downloadmake-66f938ba6081b324df470d23c752144d70c3c3ab.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--NEWS11
1 files changed, 6 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index b07ab989..5ba6a8c8 100644
--- a/NEWS
+++ b/NEWS
@@ -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