diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-06-06 16:33:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-06-06 16:33:45 +0000 |
commit | c93abbccf2f36a576f4113d72189b0455abfdb62 (patch) | |
tree | 4b6ae170eac3b27f6eedfe09237785e8495f80dd /sim | |
parent | e8a77ca4639c78d0e8dc5a921eedfaafefb1b278 (diff) | |
download | gdb-c93abbccf2f36a576f4113d72189b0455abfdb62.zip gdb-c93abbccf2f36a576f4113d72189b0455abfdb62.tar.gz gdb-c93abbccf2f36a576f4113d72189b0455abfdb62.tar.bz2 |
* Makefile.in (ChangeLog): New makefile variable.
* README-HACKING: Mention the ChangeLog makefile variable.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/ChangeLog | 5 | ||||
-rw-r--r-- | sim/Makefile.in | 14 | ||||
-rw-r--r-- | sim/README-HACKING | 5 |
3 files changed, 19 insertions, 5 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index 37ed975..2a1bb25 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 6 12:34:13 2002 Andrew Cagney <cagney@redhat.com> + + * Makefile.in (ChangeLog): New makefile variable. + * README-HACKING: Mention the ChangeLog makefile variable. + 2002-06-01 Andrew Cagney <ac131313@redhat.com> * tic80/: Delete directory. diff --git a/sim/Makefile.in b/sim/Makefile.in index 1e53780..aebdab3 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -73,6 +73,10 @@ CC_FOR_BUILD = $(CC) # @target_makefile_frag@ ### +# Name of the ChangeLog file. +ChangeLog = ChangeLog + + RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \ echo $${srcdir}/../dejagnu/runtest ; else echo runtest; \ fi` @@ -229,7 +233,7 @@ autoconf-changelog autoheader-changelog: do \ if [ -d $$d -a -f $$d/configure.in ] ; \ then \ - echo "Creating new-ChangeLog in $$d ..." ; \ + echo "Creating new-$(ChangeLog) in $$d ..." ; \ ( echo "$$date $$name <$$id@$$host>" ; \ echo "" ; \ echo " * configure: Regenerated to track ../common/aclocal.m4 changes." ; \ @@ -238,8 +242,8 @@ autoconf-changelog autoheader-changelog: echo " * config.in: Ditto." ; \ fi ; \ echo "" ; \ - cat $$d/ChangeLog \ - ) > $$d/new-ChangeLog ; \ + cat $$d/$(ChangeLog) \ + ) > $$d/new-$(ChangeLog) ; \ fi ; \ done @@ -248,7 +252,7 @@ autoconf-install autoheader-install: do \ if [ -d $$d -a -f $$d/configure.in ] ; \ then \ - echo "Moving $$d/new-ChangeLog to $$d/ChangeLog ..." ; \ - mv $$d/new-ChangeLog $$d/ChangeLog ; \ + echo "Moving $$d/new-$(ChangeLog) to $$d/$(ChangeLog) ..." ; \ + mv $$d/new-$(ChangeLog) $$d/$(ChangeLog) ; \ fi ; \ done diff --git a/sim/README-HACKING b/sim/README-HACKING index e4efeb1..bee504a 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -153,6 +153,11 @@ updated using the sequence: $ make -f Makefile.in SHELL=/bin/sh autoheader-changelog $ more */new-ChangeLog $ make -f Makefile.in SHELL=/bin/sh autoheader-install + +To add the entries to an alternative ChangeLog file, use: + + $ make ChangeLog=MyChangeLog .... + tconfig.in ========== |