summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:17 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:17 -0500
commit17eba8aca2edfadf0ec5291bcd937644e45561de (patch)
tree3f78e3010271d70f29f823a5a8674f1810c4fe48
parent05d8a7b32077410143398bcf979424a68e12cd5d (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog13
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 51066d6..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,13 +0,0 @@
-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version for X11R7 release.
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
-
-2005-12-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- Initial revision.
diff --git a/Makefile.am b/Makefile.am
index 6335a56..0956030 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,3 +45,13 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
sed $(MAN_SUBSTS) < $< > $@
EXTRA_DIST = $(appman_PRE)
+
+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