summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:35 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:35 -0500
commitc6333fd4d5d71f022f3449fa7334db1887c9d2d9 (patch)
treed86d243a26c9bff2de5a296ac811801973668db0
parent9e1b04c09b7e29d469004532c815ef1d23519673 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog22
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 22 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index b843ca5..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,22 +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-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for RC1 release.
-
-2005-10-05 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * Makefile.am: Add missing xlogo64 and xsnow files
-
-2005-07-11 Daniel Stone <daniel@freedesktop.org>
-
- * Initial autotooling.
diff --git a/Makefile.am b/Makefile.am
index a703d7d..293bc51 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -78,3 +78,13 @@ dist_bitmap_DATA = \
xlogo32 \
xlogo64 \
xsnow
+
+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