summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:06 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:06 -0500
commit52fc0c528a2fcedc61070925213cb74f6ce45fb1 (patch)
tree5fbf73d5aeb8dea76d83a6a0a9de509208eaf3c7
parent192cdc7530b8ff45d9bcea99dc07849ffbfa65b7 (diff)
downloadxorg-proto-renderproto-52fc0c528a2fcedc61070925213cb74f6ce45fb1.tar.gz
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index c722b51..0000000
--- a/ChangeLog
+++ /dev/null
@@ -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.
diff --git a/Makefile.am b/Makefile.am
index ade7de0..59aaed3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,3 +10,13 @@ renderdocdir = $(datadir)/doc/$(PACKAGE)
renderdoc_DATA = renderproto.txt
EXTRA_DIST = autogen.sh renderproto.pc.in $(renderdoc_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