]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
refactor: rename a subroutine to a more proper name
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 7 Oct 2011 13:49:17 +0000 (15:49 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 8 Oct 2011 19:17:58 +0000 (21:17 +0200)
* automake.in (maybe_push_require_file): Renamed ...
(push_required_file): ... to this.
All callers adjusted.

ChangeLog
automake.in

index 52442377915c757bdecdf6ddc6a7f44e3a576a6d..aff4d068d94cdeb9e64a3abfa530ff5803be645c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       refactor: rename a subroutine to a more proper name
+       * automake.in (maybe_push_require_file): Renamed ...
+       (push_required_file): ... to this.
+       All callers adjusted.
+
 2011-10-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        dist: truly always distribute files in AC_REQUIRE_AUX_FILE
index 9159fc6c2fb98ad8deea63aa51d84b365138c634..951d5c7c037c1e3c41630f11ce55e2b356413f53 100644 (file)
@@ -5551,7 +5551,7 @@ sub scan_autoconf_files ()
   # Look for some files we need.  Always check for these.  This
   # check must be done for every run, even those where we are only
   # looking at a subdir Makefile.  We must set relative_dir for
-  # maybe_push_required_file to work.
+  # push_required_file to work.
   # Sort the files for stable verbose output.
   $relative_dir = '.';
   foreach my $file (sort keys %required_aux_file)
@@ -7578,10 +7578,10 @@ sub locate_aux_dir ()
 }
 
 
-# &maybe_push_required_file ($DIR, $FILE, $FULLFILE)
+# &push_required_file ($DIR, $FILE, $FULLFILE)
 # --------------------------------------------------
 # Push the given file onto DIST_COMMON.
-sub maybe_push_required_file
+sub push_required_file
 {
   my ($dir, $file, $fullfile) = @_;
 
@@ -7687,7 +7687,7 @@ sub require_file_internal ($$$@)
       elsif (dir_has_case_matching_file ($dir, $file))
        {
          $found_it = 1;
-         maybe_push_required_file ($dir, $file, $fullfile);
+         push_required_file ($dir, $file, $fullfile);
        }
 
       # `--force-missing' only has an effect if `--add-missing' is
@@ -7763,7 +7763,7 @@ sub require_file_internal ($$$@)
                        }
                      set_dir_cache_file ($dir, $file);
                    }
-                 maybe_push_required_file ($dir, $file, $fullfile);
+                 push_required_file ($dir, $file, $fullfile);
                }
              else
                {
@@ -7883,7 +7883,7 @@ sub require_queued_conf_file ($)
 # worker threads may queue up the action to be serialized by the master.
 #
 # FIXME: this seriously relies on the semantics of require_file_internal
-# and maybe_push_required_file, in that we exploit the fact that only the
+# and push_required_file, in that we exploit the fact that only the
 # contents of the last handled output file may be impacted (which in turn
 # is dealt with by the master thread).
 sub require_conf_file ($$@)