From cfb8afc558d9603ff85dcadcb8ebbe13e316cf66 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 16 Mar 2001 09:46:09 +0000 Subject: [PATCH] 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. --- util/clean-depend.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/clean-depend.pl b/util/clean-depend.pl index af676af751..0193e726fe 100755 --- a/util/clean-depend.pl +++ b/util/clean-depend.pl @@ -15,8 +15,8 @@ while() { 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; } -- 2.25.1