+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.
# @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`
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." ; \
echo " * config.in: Ditto." ; \
fi ; \
echo "" ; \
- cat $$d/ChangeLog \
- ) > $$d/new-ChangeLog ; \
+ cat $$d/$(ChangeLog) \
+ ) > $$d/new-$(ChangeLog) ; \
fi ; \
done
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
$ 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 ....
+
\f
tconfig.in
==========