diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-04-03 02:22:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-04-03 02:22:52 +0000 |
commit | 96527c4ea63477abd26c7b37c2d9546e85cc42a9 (patch) | |
tree | 4a293f28463b63570437ef8c223099df3487a380 /sim/Makefile.in | |
parent | 38498962bae33661dac691dcd42b1639aa6ab8fb (diff) | |
download | gdb-96527c4ea63477abd26c7b37c2d9546e85cc42a9.zip gdb-96527c4ea63477abd26c7b37c2d9546e85cc42a9.tar.gz gdb-96527c4ea63477abd26c7b37c2d9546e85cc42a9.tar.bz2 |
Add autoheader counterpart to autoconf-common et.al.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r-- | sim/Makefile.in | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in index 92fd900..7c9308e 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -196,7 +196,7 @@ config.status: configure # This is intended to be invoked in $srcdir as # "make -f Makefile.in autoconf-common". .PHONY: autoconf-common -autoconf-common: +autoconf-common autoheader-common: for d in * ; \ do \ if [ -d $$d -a -f $$d/configure.in ] ; \ @@ -205,11 +205,16 @@ autoconf-common: then \ echo "Running autoconf in $$d ..." ; \ (cd $$d && autoconf) ; \ + if [ $* = autoheader-common ] ; \ + then \ + echo "Running autoheader in $$d ..." ; \ + (cd $$d && autoheader) ; \ + fi ; \ fi ; \ fi ; \ done -autoconf-changelog: +autoconf-changelog autoheader-changelog: id="`id | sed -e 's/^[^(]*(\([^)]*\).*$$/\1/'`" ; \ name=`grep "^$$id:" /etc/passwd | cut -f 5 -d ':'` ; \ host="`hostname`" ; \ @@ -225,6 +230,10 @@ autoconf-changelog: ( echo "$$date $$name <$$id@$$host>" ; \ echo "" ; \ echo " * configure: Regenerated to track ../common/aclocal.m4 changes." ; \ + if [ $* = autoheader-changelog ] ; \ + then \ + echo " * config.in: Ditto." ; \ + fi ; \ echo "" ; \ cat $$d/ChangeLog \ ) > $$d/new-ChangeLog ; \ @@ -232,7 +241,7 @@ autoconf-changelog: fi ; \ done -autoconf-install: +autoconf-install autoheader-install: for d in * ; \ do \ if [ -d $$d -a -f $$d/configure.in ] ; \ |