Makefile.in (macro_list): Use move-if-change to avoid spurious rebuilds.

* Makefile.in (macro_list): Use move-if-change to avoid spurious
	rebuilds.

From-SVN: r90535
This commit is contained in:
Geoffrey Keating 2004-11-12 19:07:54 +00:00 committed by Geoffrey Keating
parent e260ea9df0
commit 9af12c1b79
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-11-11 Geoffrey Keating <geoffk@apple.com>
* Makefile.in (macro_list): Use move-if-change to avoid spurious
rebuilds.
2004-11-12 Mark Mitchell <mark@codesourcery.com>
PR c++/18416

View File

@ -2792,7 +2792,8 @@ macro_list : $(GCC_PASSES)
echo | $(GCC_FOR_TARGET) -E -dM - | \
sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
sort -u > $@
sort -u > tmp-$@
$(SHELL) $(srcdir)/../move-if-change tmp-$@ $@
# Build fixed copies of system files.
stmp-fixinc: gsyslimits.h macro_list \