summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:58 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:58 -0500
commit89ae43b7876c9febe8ebbfbf3f5f396ec4d9a53f (patch)
tree9075add4d1e88a0c5eb1883d6207ce929e767069
parentf5207dba8195fd269d950a54abb7660b50024ac2 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog10
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 1294dbb..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,10 +0,0 @@
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
-
-2005-05-27 Alan Coopersmith <alan.coopersmith@sun.com>
-
- * Makefile.am (evie_HEADERS): Removed Xevie.h since it's now only
- library prototypes and as such is in lib/Xevie.
-
diff --git a/Makefile.am b/Makefile.am
index c2ff021..3abb24d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,3 +6,13 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = evieproto.pc
EXTRA_DIST = autogen.sh evieproto.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