proto/randrproto: Branch 'master'

James Cloos cloos at kemper.freedesktop.org
Thu Dec 6 13:53:12 PST 2007


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

New commits:
commit 2df8499d24d15bfca3c928b681f64b6e8a05f0af
Author: James Cloos <cloos at jhcloos.com>
Date:   Thu Dec 6 16:39:05 2007 -0500

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

diff --git a/Makefile.am b/Makefile.am
index be38f92..59e0378 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,3 +10,13 @@ randrdocdir = $(datadir)/doc/$(PACKAGE)
 randrdoc_DATA = randrproto.txt
 
 EXTRA_DIST = autogen.sh randrproto.pc.in $(randrdoc_DATA)
+
+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