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

This commit is contained in:
James Cloos 2007-12-06 16:39:11 -05:00
parent 53ab87dc60
commit 738f1a26dc
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

@ -9,3 +9,13 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xf86dgaproto.pc
EXTRA_DIST = autogen.sh xf86dgaproto.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