projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de10f69
)
Throw out *all* absolute pathnames, not matter what they look like.
author
Bodo Möller
<bodo@openssl.org>
Thu, 8 Mar 2001 12:27:44 +0000
(12:27 +0000)
committer
Bodo 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
patch
|
blob
|
history
diff --git
a/util/clean-depend.pl
b/util/clean-depend.pl
index c37d98521c6a48b41f31b78c072f98df0407b2cc..d2b78282c02fb43be182b35f57bd63a4ebd4752a 100755
(executable)
--- a/
util/clean-depend.pl
+++ b/
util/clean-depend.pl
@@
-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;
}