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

This commit is contained in:
James Cloos 2007-12-06 16:39:13 -05:00
parent cdf94f9311
commit a163fd8950
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

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