From 29a316c91b55a0ca193c9e902491f2ae78f33b76 Mon Sep 17 00:00:00 2001 From: James Cloos Date: Thu, 6 Dec 2007 05:13:52 -0500 Subject: Replace static ChangeLog with dist-hook to generate from git log --- ChangeLog | 39 --------------------------------------- Makefile.am | 7 ++++++- 2 files changed, 6 insertions(+), 40 deletions(-) delete mode 100644 ChangeLog 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 - - * xev.c: - Bug #319: handle WM_DELETE_WINDOW. (Noah Levitt) - -2006-06-02 Daniel Stone - - * 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 - - * configure.ac: - Update package version for X11R7 release. - -2005-12-14 Kevin E. Martin - - * configure.ac: - Update package version number for final X11R7 release candidate. - -2005-12-06 Kevin E. Martin - - * Makefile.am: - Change *man_SOURCES ==> *man_PRE to fix autotools warnings. - -2005-12-03 Kevin E. Martin - - * configure.ac: - Update package version number for X11R7 RC3 release. - -2005-10-18 Kevin E. Martin - - * 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 -- cgit v1.2.3