From 72a01c6a3bae2cf113ab0ec812df41fec9b99a51 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 17 Jul 2007 11:04:16 -0700 Subject: [PATCH] Replace static ChangeLog with dist-hook to generate from git log --- ChangeLog | 38 -------------------------------------- Makefile.am | 11 +++++++++++ 2 files changed, 11 insertions(+), 38 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index c81f279..0000000 --- a/ChangeLog +++ /dev/null @@ -1,38 +0,0 @@ -2006-04-26 Adam Jackson - - * configure.ac: - Bump to 1.0.1 - -2006-03-22 Matthias Hopf - - * handle.c: (do_pointer): - Allow changing of only a few buttons (not all). - -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. - -2005-09-28 Kristian Høgsberg - - * AUTHORS: Copy bits from COPYING here. - - * README: Copy first paragraph from man page. - - * Makefile.am (EXTRA_DIST): Add swap.km. - diff --git a/Makefile.am b/Makefile.am index c0e91ec..aedac7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,6 +36,8 @@ appman_PRE = \ xmodmap.man EXTRA_DIST = \ + ChangeLog \ + autogen.sh \ swap.km appmandir = $(APP_MAN_DIR) @@ -68,3 +70,12 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ + +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 -- 2.7.4