From: Stefano Lattarini Date: Sun, 28 Dec 2014 18:13:40 +0000 (+0100) Subject: Merge branch 'master' into ng/master X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e29fa6bb50d9ab4a8a263c96c51efaa98b169e3;p=thirdparty%2Fautomake.git Merge branch 'master' into ng/master * master: tests: make script 'shell-no-trail-bslash' simpler and more robust texinfo: remove hack about info files in CLEANFILES variables Signed-off-by: Stefano Lattarini --- 8e29fa6bb50d9ab4a8a263c96c51efaa98b169e3 diff --cc bin/automake.in index d699ec6ee,c6bf923a9..6f08c4b99 --- a/bin/automake.in +++ b/bin/automake.in @@@ -2559,16 -2946,8 +2559,7 @@@ sub handle_texinfo_helpe my (@infobase, @info_deps_list, @texi_deps); my %versions; my $done = 0; - my (@mostly_cleans, @texi_cleans, @maint_cleans) = ('', '', ''); - # Build a regex matching user-cleaned files. - my $d = var 'DISTCLEANFILES'; - my $c = var 'CLEANFILES'; - my @f = (); - push @f, $d->value_as_list_recursive (inner_expand => 1) if $d; - push @f, $c->value_as_list_recursive (inner_expand => 1) if $c; - @f = map { s|[^A-Za-z_0-9*\[\]\-]|\\$&|g; s|\*|[^/]*|g; $_; } @f; - my $user_cleaned_files = '^(?:' . join ('|', @f) . ')$'; - foreach my $texi ($info_texinfos->value_as_list_recursive (inner_expand => 1)) { @@@ -2783,8 -3147,10 +2743,8 @@@ new Automake::Location, TEXI => $texi, VTI => $vti, - STAMPVTI => "${soutdir}stamp-$vti", - VTEXI => "${soutdir}${vtexi}"); + STAMPVTI => "${src_outdir}stamp-$vti", - VTEXI => "${src_outdir}$vtexi", - MDDIR => $conf_dir, - DIRSTAMP => $dirstamp); ++ VTEXI => "${src_outdir}$vtexi"); } } diff --cc t/ax/shell-no-trail-bslash.in index 82217e564,322495824..353d4cde1 --- a/t/ax/shell-no-trail-bslash.in +++ b/t/ax/shell-no-trail-bslash.in @@@ -58,10 -59,10 +58,10 @@@ am_SHELL=${AM_TESTSUITE_SHELL-'@SHELL@' case "$shell_command" in *\\) - printf '%s\n' "$0: recipe ends with backslash character" >&2 - printf '%s\n' "=== BEGIN recipe" >&2 - printf '%s\n' "${am_shell_command-}" >&2 - printf '%s\n' "=== END recipe" >&2 + printf '%s\n' "$0: recipe/script ends with backslash character" >&2 + printf '%s\n' "=== BEGIN recipe/script" >&2 - printf '%s\n' "${am_shell_command-}" >&2 ++ printf '%s\n' "${shell_command-???}" >&2 + printf '%s\n' "=== END recipe/script" >&2 exit 1 ;; esac