From 3b4cfea688be0bbe3270848f9640aef78028caab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Thu, 8 Mar 2001 12:27:44 +0000 Subject: [PATCH] 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/clean-depend.pl b/util/clean-depend.pl index c37d98521c..d2b78282c0 100755 --- a/util/clean-depend.pl +++ b/util/clean-depend.pl @@ -17,8 +17,7 @@ while() { $thisfile=$file if defined $file; 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{$thisfile}},@deps; } -- 2.25.1