summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 05:13:52 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 05:13:52 -0500
commit29a316c91b55a0ca193c9e902491f2ae78f33b76 (patch)
tree3aff02566f8c33b6c8514203f3cff930a5ae963a
parent49658a2112957b2b4874d2a9faccb6e501a0cda5 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog39
-rw-r--r--Makefile.am7
2 files changed, 6 insertions, 40 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index d796248..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,39 +0,0 @@
-2007-12-06 James Cloos <cloos@jhcloos.com>
-
- * xev.c:
- Bug #319: handle WM_DELETE_WINDOW. (Noah Levitt)
-
-2006-06-02 Daniel Stone <daniel@freedesktop.org>
-
- * configure.ac:
- Bump to 1.0.2.
-
- * xev.c:
- Bug #6598: Run XFilterEvent() on all events, not just KeyPresses.
- (Samuel Thibault)
-
-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-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 ea7ed66..61a3e84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,8 +35,9 @@ 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
SED = sed
@@ -61,3 +62,7 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+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