+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
# 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)
}
-# &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) = @_;
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
}
set_dir_cache_file ($dir, $file);
}
- maybe_push_required_file ($dir, $file, $fullfile);
+ push_required_file ($dir, $file, $fullfile);
}
else
{
# 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 ($$@)