]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'perl-sub-protos' into maint
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 16 Feb 2013 17:54:19 +0000 (18:54 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 16 Feb 2013 17:54:19 +0000 (18:54 +0100)
* perl-sub-protos:
  style: call perl functions 'like_this()', not '&like_this()'
  maint: use more perl subroutines prototypes in the automake script
  build: auto-generate perl subroutines prototypes for automake and aclocal
  refactor: rip module Automake::Language out of automake script

1  2 
automake.in

diff --cc automake.in
index 4bb96871880a5d84b031d6c1f6a9c60bf370079e,0df09653e88dbcca4122f2c8ba19eb23e249a25c..d4c25c4c00aef1054e05ed69fb53b4889242606b
@@@ -5979,10 -5894,10 +5894,10 @@@ sub register_language (%
    # Update the pattern of known extensions.
    accept_extensions (@{$lang->extensions});
  
 -  # Upate the $suffix_rule map.
 +  # Update the $suffix_rule map.
    foreach my $suffix (@{$lang->extensions})
      {
-       foreach my $dest (&{$lang->output_extensions} ($suffix))
+       foreach my $dest ($lang->output_extensions->($suffix))
        {
          register_suffix_rule (INTERNAL, $suffix, $dest);
        }