Fix typo which causes test "m4_warn (bad categories)" to fail. * lib/Autom4te/Channels.pm (report_bad_channel): Fix warning message so that it refers to autom4te instead of automake. * build-aux/fetch.pl (fetch): Replace automake with autom4te in warning messages. Copyright-paperwork-exempt: Yes Co-authored-by: Kamila Szewczyk <szewczyk@cs.uni-saarland.de>
diff --git a/build-aux/fetch.pl b/build-aux/fetch.pl index 8b77f2d..40a0ee9 100755 --- a/build-aux/fetch.pl +++ b/build-aux/fetch.pl
@@ -226,6 +226,7 @@ # don't use \s here or it will eat blank lines $content =~ s/[ \t]+$//gm; $content =~ s/\bAutomake::/Autom4te::/g if $edit; + $content =~ s/\bautomake\s+--help/autom4te --help/g if $edit; replace_if_change ($destpath, $content, $quiet); }
diff --git a/lib/Autom4te/Channels.pm b/lib/Autom4te/Channels.pm index 9138c78..d4c0464 100644 --- a/lib/Autom4te/Channels.pm +++ b/lib/Autom4te/Channels.pm
@@ -686,7 +686,7 @@ # don't treat those cases as errors. $report_as = 'obsolete'; $message = "use of $q_channel as a diagnostic category is obsolete\n"; - $message .= "(see automake --help for a list of valid categories)"; + $message .= "(see autom4te --help for a list of valid categories)"; } elsif ($channel eq 'none' || ($channel =~ /^no-/ && exists $channels{substr($channel, 3)}))