summaryrefslogtreecommitdiff
path: root/libiberty/maint-tool
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2007-07-12 02:24:41 +0000
committerAlexandre Oliva <aoliva@redhat.com>2007-07-12 02:24:41 +0000
commite38a1f44b2ed3f657e2276923a2dadf32649c083 (patch)
tree23607f05d81e50fde6724f6713b51f247c795363 /libiberty/maint-tool
parent1cb6b730ac4dc4275a2b67cb4de31f2e5c56140a (diff)
downloadgdb-e38a1f44b2ed3f657e2276923a2dadf32649c083.tar.gz
* maint-tool (deps): Output stamp-h instead of config.h.
* Makefile.in: Rebuild deps. (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
Diffstat (limited to 'libiberty/maint-tool')
-rw-r--r--libiberty/maint-tool6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/maint-tool b/libiberty/maint-tool
index 5584d9b5594..a460b5570e5 100644
--- a/libiberty/maint-tool
+++ b/libiberty/maint-tool
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# -*- perl -*-
-# Copyright (C) 2001
+# Copyright (C) 2001, 2007
# Free Software Foundation
#
# This file is part of the libiberty library.
@@ -226,7 +226,6 @@ sub deps {
$mine{$f} = "\$(INCDIR)/$f";
$deps{$f} = join(' ', &deps_for("$incdir/$f"));
}
- $mine{'config.h'} = "config.h";
opendir(INC, $srcdir);
while ($f = readdir INC) {
@@ -234,7 +233,8 @@ sub deps {
$mine{$f} = "\$(srcdir)/$f";
$deps{$f} = join(' ', &deps_for("$srcdir/$f"));
}
- $mine{'config.h'} = "config.h";
+
+ $mine{'config.h'} = "stamp-h";
open(IN, "$srcdir/Makefile.in");
open(OUT, ">$srcdir/Makefile.tmp");