]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] refactor: more proper name for a subroutine in automake
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 16 Jun 2012 10:01:58 +0000 (12:01 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 17 Jun 2012 08:11:35 +0000 (10:11 +0200)
After the past heavy changes, a subroutine's name has got out-of-sync
with its purpose.

* automake.in (output_texinfo_build_rules): Rename ...
* (handle_texinfo_source): ... like this.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
automake.in

index 8e2e1f47c77b9ce4caba9211322fcbcff9eb86ae..c8b7f325c11130d060de132d329f068f50919a0e 100644 (file)
@@ -2842,13 +2842,13 @@ sub scan_texinfo_file ($)
 
 
 # @CLEAN_FILES
-# output_texinfo_build_rules ($SOURCE, $DEST, $INSRC, @DEPENDENCIES)
+# handle_texinfo_source ($SOURCE, $DEST, $INSRC, @DEPENDENCIES)
 # ------------------------------------------------------------------
 # SOURCE - the source Texinfo file
 # DEST - the destination Info file
 # INSRC - whether DEST should be built in the source tree
 # DEPENDENCIES - known dependencies
-sub output_texinfo_build_rules ($$$@)
+sub handle_texinfo_source ($$$@)
 {
   my ($source, $dest, $insrc, @deps) = @_;
 
@@ -3046,8 +3046,8 @@ sub handle_texinfo_helper ($)
          push_dist_common ('$(' . $canonical . '_TEXINFOS)');
        }
 
-      my @cfiles = output_texinfo_build_rules ($texi, $out_file,
-                                               $insrc, @texi_deps);
+      my @cfiles = handle_texinfo_source ($texi, $out_file,
+                                          $insrc, @texi_deps);
       push (@texi_cleans, @cfiles);
 
       push (@info_deps_list, $out_file);