diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 11:04:16 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 11:04:16 -0700 |
commit | 72a01c6a3bae2cf113ab0ec812df41fec9b99a51 (patch) | |
tree | 485b3aa5bc0acdd227cb0850485426581ef80128 | |
parent | 4dfbd74bda684bea748fbbcbfc172f6325423d12 (diff) |
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r-- | ChangeLog | 38 | ||||
-rw-r--r-- | Makefile.am | 11 |
2 files changed, 11 insertions, 38 deletions
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 <ajax@freedesktop.org> - - * configure.ac: - Bump to 1.0.1 - -2006-03-22 Matthias Hopf <mhopf@suse.de> - - * handle.c: (do_pointer): - Allow changing of only a few buttons (not all). - -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. - -2005-09-28 Kristian Høgsberg <krh@redhat.com> - - * 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 |