* maint-tool (deps): Scan for headers in $srcdir also.
From-SVN: r65653
This commit is contained in:
parent
9959c8c7df
commit
98475c572e
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-04-15 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* maint-tool (deps): Scan for headers in $srcdir also.
|
||||
|
||||
2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
PR target/10338
|
||||
|
|
|
@ -223,6 +223,14 @@ sub deps {
|
|||
}
|
||||
$mine{'config.h'} = "config.h";
|
||||
|
||||
opendir(INC, $srcdir);
|
||||
while ($f = readdir INC) {
|
||||
next unless $f =~ /\.h$/;
|
||||
$mine{$f} = "\$(srcdir)/$f";
|
||||
$deps{$f} = join(' ', &deps_for("$srcdir/$f"));
|
||||
}
|
||||
$mine{'config.h'} = "config.h";
|
||||
|
||||
open(IN, "$srcdir/Makefile.in");
|
||||
open(OUT, ">$srcdir/Makefile.tmp");
|
||||
while (<IN>) {
|
||||
|
|
Loading…
Add table
Reference in a new issue