From revision 1.6, 2001-03-08 13:27 bodo:

Throw out *all* absolute pathnames, not matter what they look like.
The filenames we are interested in for Makefile dependencies are
always relative.
This commit is contained in:
Richard Levitte 2001-03-16 09:46:09 +00:00
parent e8acf5c6f8
commit cfb8afc558

View file

@ -15,8 +15,8 @@ while(<STDIN>) {
my ($file,$deps)=/^(.*): (.*)$/;
next if !defined $deps;
my @deps=split ' ',$deps;
@deps=grep(!/^\/usr\/include/,@deps);
@deps=grep(!/^\/usr\/lib\/gcc-lib/,@deps);
@deps=grep(!/^\//,@deps);
@deps=grep(!/^\\$/,@deps);
push @{$files{$file}},@deps;
}