+2003-12-08 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
+ Perl 5.6.0 will not accept a reference sub reference for the
+ latter.
+ * automake.in (var_SUFFIXES_trigger): Adjust registration via
+ Automake::Variabke::hook.
+ (handle_texinfo_helper): Make sure `inner_expand => 1' appears
+ on one line, so that Perl 5.6.0 does not complain about
+ inner_expand being a bare identifier.
+
2003-12-05 Alexandre Duret-Lutz <adl@gnu.org>
* aclocal.in (check_acinclude, scan_file): Output `warning:' in
my ($type, $value) = @_;
accept_extensions (split (' ', $value));
}
-Automake::Variable::hook ('SUFFIXES', &var_SUFFIXES_trigger);
+Automake::Variable::hook ('SUFFIXES', \&var_SUFFIXES_trigger);
################################################################
@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))
+ foreach my $texi
+ ($info_texinfos->value_as_list_recursive (inner_expand => 1))
{
my $infobase = $texi;
$infobase =~ s/\.(txi|texinfo|texi)$//;
}
# In the top-level Makefile we do not use $(top_builddir), because
# we are already there, and since the targets are built without
- # a $(top_builddir), it helps BSD Make to match them with
- # dependencies.
+ # a $(top_builddir), it helps BSD Make to match them with
+ # dependencies.
elsif ($relative_dir ne '.')
{
$i = '$(top_builddir)/' . $i;