summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-07-20 16:14:34 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-07-20 16:14:34 -0700
commit5a51d7e1db3694e41d55bc02208f3fa1b736e951 (patch)
tree0ec9a2ec2f3addbe30876e1556cb15c2041c85bc
parente7a16eb488b591af57561799525891be5030bf25 (diff)
Replace static changelog with dist-hook to generate from git log
-rw-r--r--ChangeLog35
-rw-r--r--Makefile.am10
2 files changed, 9 insertions, 36 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index a6236dd..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,35 +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-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC2 release.
-
-2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for RC1 release.
-
-2005-08-17 Adam Jackson <ajax@freedesktop.org>
-
- * configure.ac:
- * Makefile.am:
- Get xthreadlib variable from Xlib. Bump to 0.99.1.
diff --git a/Makefile.am b/Makefile.am
index 867afc8..a03cffd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,8 +43,16 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog
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