1999-12-19 Tom Tromey <tromey@cygnus.com>
+ * automake.in (handle_dist_worker): Expand DIST_COMMON under all
+ conditions.
+ (require_file_internal): Corrected arguments to second invocation
+ of maybe_push_required_file.
+
Fix for PR automake/9:
* automake.in (make_dirs, make_dirs_set): New globals.
(is_make_dir): New function.
# We have to check DIST_COMMON for extra directories in case the
# user put a source used in AC_OUTPUT into a subdir.
- foreach (&variable_value_as_list ('DIST_COMMON', ''))
+ foreach (&variable_value_as_list ('DIST_COMMON', 'all'))
{
next if /^\@.*\@$/;
next unless s,/+[^/]+$,,;
}
}
- &maybe_push_required_file ($dir, $file, $fullfile);
+ &maybe_push_required_file (&dirname ($errfile),
+ $errfile, $errfile);
}
local ($save) = $exit_status;