aboutsummaryrefslogtreecommitdiff
path: root/libiberty/maint-tool
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2012-10-10 03:11:33 +0000
committerDJ Delorie <dj@redhat.com>2012-10-10 03:11:33 +0000
commit995b61fe5b880e79b767160207fd363b125fdaa3 (patch)
tree47dc5239563a2d1ab75ea7790c9ce51baf80a821 /libiberty/maint-tool
parentfd49b9b373ee89cd57fcd4d9cfd791fd4b9ebdc7 (diff)
downloadgdb-995b61fe5b880e79b767160207fd363b125fdaa3.zip
gdb-995b61fe5b880e79b767160207fd363b125fdaa3.tar.gz
gdb-995b61fe5b880e79b767160207fd363b125fdaa3.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/maint-tool')
-rw-r--r--libiberty/maint-tool2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/maint-tool b/libiberty/maint-tool
index 36b9203..d50f895 100644
--- a/libiberty/maint-tool
+++ b/libiberty/maint-tool
@@ -222,7 +222,7 @@ sub deps {
opendir(INC, $incdir);
while ($f = readdir INC) {
- next unless $f =~ /\.h$/;
+ next unless $f =~ /\.h$/ || $f =~ /\.def$/;
$mine{$f} = "\$(INCDIR)/$f";
$deps{$f} = join(' ', &deps_for("$incdir/$f"));
}