]> git.ipfire.org Git - thirdparty/autoconf.git/commit
maint: generate ChangeLog from git log
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 15 Jan 2012 18:43:18 +0000 (19:43 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 17 Jan 2012 08:18:58 +0000 (09:18 +0100)
commit6ed5195ee1b1d46b225d7e97d897b773e9aedf97
tree7ac734f3712b21da0925d1df57aad1e2ac2823f5
parent46c04f8009bd38f5ec07097a2f210f0d915b6169
maint: generate ChangeLog from git log

Following the practice set by various other GNU projects, we start
to automatically generate the ChangeLog file from the git commit
messages.  This will avoid duplication (as the ChangeLog entries
were always inserted both in the git commit message and in the
version-controlled ChangeLog file), and potential problems with
spurious merge conflicts (which, although greatly mitigated by
Bruno Haible's `git-merge-changelog' helper program, have never
been completely solved).

* ChangeLog: Moved ...
* ChangeLog.3: ... to this.
* build-aux/gitlog-to-changelog: New script, synced from gnulib.
* cfg.mk (gnulib-update): Also sync gitlog-to-changelog.
* Makefile.am (gen-ChangeLog): New .PHONY rule, generate the
ChangeLog for distribution.
(dist-hook): Depend on it.
($(srcdir)/ChangeLog): New dummy rule, to pacify automake "gnu"
strictness.  Creates a dummy ChangeLog, that will be overridden
by the proper one at distribution time.
(gen_start_date): New variable, the date starting from which the
git log entries are to be copied in the generated ChangeLog.
(EXTRA_DIST): Add ChangeLog.3 and gitlog-to-changelog.
* configure.ac (AC_CONFIG_SRCDIR): Use 'lib/autoconf/autoconf.m4'
instead of 'ChangeLog' as the sentinel file.
* .gitignore: Add ChangeLog.
.gitignore
ChangeLog.3 [moved from ChangeLog with 100% similarity]
Makefile.am
build-aux/gitlog-to-changelog [new file with mode: 0755]
cfg.mk
configure.ac