diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-28 15:46:07 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-08-28 15:46:07 -0700 |
commit | 643382c633eb01f51f299881b6884c30e52a38f1 (patch) | |
tree | cd7607886df953659ab3dea598c4c17911d0b598 | |
parent | dead50b7452214a0501e2ea73f8499b2f30e69f1 (diff) |
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | Makefile.am | 10 |
2 files changed, 9 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index a6d8868..0000000 --- a/ChangeLog +++ /dev/null @@ -1,13 +0,0 @@ -2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for final X11R7 release candidate. - -2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * configure.ac: - Update package version number for RC1 release. - -2005-10-05 Kevin E. Martin <kem-at-freedesktop-dot-org> - - * Makefile.am: Add constype.man to EXTRA_DIST even when not building diff --git a/Makefile.am b/Makefile.am index 844f4e2..7022997 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,8 +40,16 @@ appmandir = $(APP_MAN_DIR) appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) -EXTRA_DIST = $(appman_PRE) +EXTRA_DIST = $(appman_PRE) ChangeLog autogen.sh 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 |