rendercheck: Makefile.am

James Cloos cloos at kemper.freedesktop.org
Thu Dec 6 13:44:39 PST 2007


 Makefile.am |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 365c2d85d4bc342a3a868f5bc5e43a342f384d07
Author: James Cloos <cloos at jhcloos.com>
Date:   Thu Dec 6 16:37:04 2007 -0500

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

diff --git a/Makefile.am b/Makefile.am
index fe66ba3..513c1e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,3 +30,13 @@ EXTRA_DIST = \
 	doc/TODO \
 	autogen.sh \
 	${man_MANS}
+
+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


More information about the xorg-commit mailing list