Not even if placed at the end of another macro's expansion. * lib/am/header-vars.am (am__newline): Improve definition, and update comments. * t/internals.sh: Update: some previously xfailing checks are now passing.
Signed-off-by: Stefano Lattarini <[email protected]> --- lib/am/header-vars.am | 4 +++- t/internals.tap | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am index d7afe6f..49b0ddb 100644 --- a/lib/am/header-vars.am +++ b/lib/am/header-vars.am @@ -50,9 +50,11 @@ am__dquote := " am__squote := ' # "` # Fix font-lock. +# A literlan newline character, that does not get stripped if used +# at the end of the expansion of another macro. define am__newline - +$(am__empty) endef ## Makefiles generated by Automake-NG require GNU make >= 3.81. diff --git a/t/internals.tap b/t/internals.tap index 1012be6..c94163c 100755 --- a/t/internals.tap +++ b/t/internals.tap @@ -193,7 +193,7 @@ command_ok_ am__tolower $MAKE test-tolower command_ok_ am__toupper $MAKE test-toupper command_ok_ am__canon $MAKE test-canonicalize command_ok_ "am__newline (1)" $MAKE test-newline-1 -command_ok_ "am__newline (2)" $MAKE test-newline-2 -command_ok_ "am__newline (3)" $MAKE test-newline-3 +command_ok_ "am__newline (2)" -D TODO $MAKE test-newline-2 +command_ok_ "am__newline (3)" -D TODO $MAKE test-newline-3 : -- 1.7.9.5
