summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:01 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:01 -0500
commit448806eda04b0b6431e64c8ba2324648c7ea7740 (patch)
treee998fa6d31dd5b73ec9654d5e900a04e3df4c0de
parentba20ae0b8b92067edecbf10422d968c75505230b (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog32
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 32 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 12fcbd3..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,32 +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-12-08 Adam Jackson <ajax@freedesktop.org>
-
- * configure.ac:
- Bug #5267: Fix AC_ARG_WITH to not lie. (Donnie Berkholz)
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Add m4 magic to allow AS_HELP_STRING to work with older versions
- of autoconf 2.57.
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
-2005-11-15 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * Makefile.am:
- * configure.ac:
- Add configure option to change the installed font dir.
-
-2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for RC1 release.
-
diff --git a/Makefile.am b/Makefile.am
index eeffe32..249b03e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,3 +41,13 @@ install-data-hook:
distuninstallcheck:
@:
+
+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