Throw out *all* absolute pathnames, not matter what they look like.
authorBodo Möller <bodo@openssl.org>
Thu, 8 Mar 2001 12:27:44 +0000 (12:27 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 8 Mar 2001 12:27:44 +0000 (12:27 +0000)
The filenames we are interested in for Makefile dependencies
are always relative.

util/clean-depend.pl

index c37d98521c6a48b41f31b78c072f98df0407b2cc..d2b78282c02fb43be182b35f57bd63a4ebd4752a 100755 (executable)
@@ -17,8 +17,7 @@ while(<STDIN>) {
     $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;
 }