aboutsummaryrefslogtreecommitdiff
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
commita590e8e71dc8bfbf1dd27fff13d3440c3bf4b27f (patch)
treef50b50301c669bb1d472f2a5557bce30ac454e88 /libiberty/maint-tool
parent3bf9618b718ab699c462ed2416cf29c0c0d2b4f7 (diff)
downloadgdb-a590e8e71dc8bfbf1dd27fff13d3440c3bf4b27f.zip
gdb-a590e8e71dc8bfbf1dd27fff13d3440c3bf4b27f.tar.gz
gdb-a590e8e71dc8bfbf1dd27fff13d3440c3bf4b27f.tar.bz2
* 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 5584d9b..a460b55 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");