summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:37 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:37 -0500
commit0e17d30d7b8b4a33771cbffd97cbbb8b037d8a5e (patch)
tree6fc420ac002a8c26732484f861caf90341b36eaf
parent465a28bc1ca12489bbc36711e68dcd83fcf1ed10 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog29
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 29 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index bba706c..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,29 +0,0 @@
-2006-05-22 Adam Jackson <ajax@freedesktop.org>
-
- * configure.ac:
- Bump to 1.1
-
-2006-05-22 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * defs.ent:
- Update package version for X11R7.1 release.
-
-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version for X11R7 release.
-
-2005-12-19 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * defs.ent:
- Update defs.ent from monolith.
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
-
-2005-12-05 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Add missing XORG_RELEASE_VERSION to configure.ac.
diff --git a/Makefile.am b/Makefile.am
index 1bdef7c..a494d0a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,3 +22,13 @@
sgmlentdir = $(prefix)/share/sgml/X11
dist_sgmlent_DATA = defs.ent
+
+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