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:
e8acf5c
)
From revision 1.6, 2001-03-08 13:27 bodo:
author
Richard Levitte
<levitte@openssl.org>
Fri, 16 Mar 2001 09:46:09 +0000
(09:46 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 16 Mar 2001 09:46:09 +0000
(09:46 +0000)
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
patch
|
blob
|
history
diff --git
a/util/clean-depend.pl
b/util/clean-depend.pl
index af676af751458363e8f6c735be2d97c3615f5916..0193e726fee1733d042fa3494f0d8e841bf460ae 100755
(executable)
--- a/
util/clean-depend.pl
+++ b/
util/clean-depend.pl
@@
-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;
}