Commit 0f3d38b6 by Alexandre Oliva Committed by Alexandre Oliva

maint-tool (deps): Output stamp-h instead of config.h.

* 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.

From-SVN: r126569
parent c5830edf
2007-07-11 Alexandre Oliva <aoliva@redhat.com>
* 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.
2007-07-02 Simon Baldwin <simonb@google.com>
* argv.c (writeargv): Removed declaration of unused variable.
......
#!/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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment