diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-04-02 23:10:34 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-04-02 23:10:34 +0000 |
commit | b04500b2c4393b233b8cb59aac802bac7f276b07 (patch) | |
tree | f23c52eadd97769e99342aa94729bbcd931d0bb9 /sim/Makefile.in | |
parent | ba254dc504f848de3eef9af6162344675f5cd09f (diff) | |
download | fsf-binutils-gdb-b04500b2c4393b233b8cb59aac802bac7f276b07.zip fsf-binutils-gdb-b04500b2c4393b233b8cb59aac802bac7f276b07.tar.gz fsf-binutils-gdb-b04500b2c4393b233b8cb59aac802bac7f276b07.tar.bz2 |
* Makefile.in (autoconf-install): New target.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r-- | sim/Makefile.in | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in index 6c2d2cf..92fd900 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -210,9 +210,11 @@ autoconf-common: done autoconf-changelog: - user="`finger $$USER | sed -n 's/^.*Name: //p'` <$$USER@`hostname`>" ; \ + id="`id | sed -e 's/^[^(]*(\([^)]*\).*$$/\1/'`" ; \ + name=`grep "^$$id:" /etc/passwd | cut -f 5 -d ':'` ; \ + host="`hostname`" ; \ date="`date | sed 's/ [^ ]* \([0-9]*\)$$/ \1/'`" ; \ - echo "$$date $$user" ; \ + echo "$$date $$name $$id@$$host" ; \ for d in * ; \ do \ if [ -d $$d -a -f $$d/configure.in ] ; \ @@ -220,7 +222,7 @@ autoconf-changelog: if grep SIM_AC_COMMON $$d/configure.in >/dev/null ; \ then \ echo "Creating new-ChangeLog in $$d ..." ; \ - ( echo "$$date $$user" ; \ + ( echo "$$date $$name <$$id@$$host>" ; \ echo "" ; \ echo " * configure: Regenerated to track ../common/aclocal.m4 changes." ; \ echo "" ; \ @@ -229,3 +231,16 @@ autoconf-changelog: fi ; \ fi ; \ done + +autoconf-install: + for d in * ; \ + do \ + if [ -d $$d -a -f $$d/configure.in ] ; \ + then \ + if grep SIM_AC_COMMON $$d/configure.in >/dev/null ; \ + then \ + echo "Moving $$d/new-ChangeLog to $$d/ChangeLog ..." ; \ + mv $$d/new-ChangeLog $$d/ChangeLog ; \ + fi ; \ + fi ; \ + done |