Mon Aug 25 15:45:52 1997 Tom Tromey <tromey@cygnus.com>
+ * automake.in (scan_dependency_file): Fix so that
+ OMIT_DEPENDENCIES will work. From Alexander Lukyanov.
+
* automake.in (handle_texinfo): texi2dvi can generate `.cn'
files. From Akim Demaille.
foreach $one_dep (split (' ', $_))
{
+ ($just_file = $one_dep) =~ s,^.*/,,;
+ next if defined $omit{$just_file};
+
if ($one_dep =~ /^$fixup_rx/)
{
# The dependency points to the current directory in
}
else
{
- # Anything else is assumed to be correct. But first
- # make sure it is not on our list of dependencies to
- # omit.
- ($just_file = $one_dep) =~ s,^.*/,,;
- push (@dependencies, $one_dep)
- if ! defined $omit{$just_file};
+ # Anything else is assumed to be correct.
+ push (@dependencies, $one_dep);
}
}
}