Replace static ChangeLog with dist-hook to generate from git log

This commit is contained in:
James Cloos 2007-12-06 16:39:02 -05:00
parent 1a41bb4ff6
commit 0396fb99f9
2 changed files with 10 additions and 4 deletions

View file

@ -1,4 +0,0 @@
2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
Update package version number for final X11R7 release candidate.

View file

@ -10,3 +10,13 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = kbproto.pc
EXTRA_DIST = autogen.sh kbproto.pc.in
EXTRA_DIST += ChangeLog
MAINTAINERCLEANFILES = ChangeLog
.PHONY: ChangeLog
ChangeLog:
(GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
dist-hook: ChangeLog