summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-08-10 11:34:23 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-08-10 11:34:23 -0700
commitc843fa3f4e65f2e1e133633b445f8693b1cc617c (patch)
tree9bcb5af7108ce34aafa1186ec4f9d13f2b4d6311
parent20955b2e662bb659533287d86fcd4d1cf75d3551 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog31
-rw-r--r--Makefile.am10
2 files changed, 9 insertions, 32 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index a7722ec..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,31 +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-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * Makefile.am:
- Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
-2005-11-20 Alan Coopersmith <alan.coopersmith@sun.com>
-
- * configure.ac:
- Change dependency from xmu to xmuu since the full xmu
- (with all its baggage like Xt) is not needed here.
-
-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 03e70c6..f0d5195 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,8 +37,16 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog autogen.sh
CLEANFILES = $(appman_DATA)
+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
SED = sed