[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH 5/6] [ng] $(am__newline): will not be stripped
From: |
Dave Hart |
Subject: |
Re: [Automake-NG] [PATCH 5/6] [ng] $(am__newline): will not be stripped unexpectedly |
Date: |
Sun, 8 Jul 2012 00:03:36 +0000 |
On Sat, Jul 7, 2012 at 20:40 UTC, Stefano Lattarini wrote:
> 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 <address@hidden>
> ---
> 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
s/literlan/literal/ and also the comma should be removed.
> +# 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
>
>
Cheers,
Dave Hart
- [Automake-NG] [PATCH 0/6] clean: avoid issues with excessive command line length, Stefano Lattarini, 2012/07/07
- [Automake-NG] [PATCH 1/6] [ng] coverage: cleaning rules with lots of files to clean, Stefano Lattarini, 2012/07/07
- [Automake-NG] [PATCH 2/6] [ng] am.xargs-map: new internal make function, Stefano Lattarini, 2012/07/07
- [Automake-NG] [PATCH 3/6] [ng] am.xargs-map: be usable with huge lists, Stefano Lattarini, 2012/07/07
- [Automake-NG] [PATCH 4/6] [ng] coverage: $(am__newline) should never be stripped off, Stefano Lattarini, 2012/07/07
- [Automake-NG] [PATCH 5/6] [ng] $(am__newline): will not be stripped unexpectedly, Stefano Lattarini, 2012/07/07
- Re: [Automake-NG] [PATCH 5/6] [ng] $(am__newline): will not be stripped unexpectedly,
Dave Hart <=
[Automake-NG] [PATCH 6/6] [ng] clean: do not exceed command line length limits, even with many files, Stefano Lattarini, 2012/07/07
Re: [Automake-NG] [PATCH 0/6] clean: avoid issues with excessive command line length, Akim Demaille, 2012/07/09