From 7e19b4a5ad470f1715046f56ea8149df851221e4 Mon Sep 17 00:00:00 2001 From: James Cloos Date: Thu, 6 Dec 2007 16:39:07 -0500 Subject: Replace static ChangeLog with dist-hook to generate from git log --- ChangeLog | 18 ------------------ Makefile.am | 10 ++++++++++ 2 files changed, 10 insertions(+), 18 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 0acb57a..0000000 --- a/ChangeLog +++ /dev/null @@ -1,18 +0,0 @@ -2006-03-31 Fredrik Höglund - - * configure.ac: - Update the package version number to 1.1. - - * saver.h: - Increase the minor version to 1. - - * saverproto.h: - Add the ScreenSaverSuspend request. - - * scrnsaver.h: - Add the prototype for XScreenSaverSuspend. - -2005-12-14 Kevin E. Martin - - * configure.ac: - Update package version number for final X11R7 release candidate. diff --git a/Makefile.am b/Makefile.am index aa73785..f836985 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,3 +8,13 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = scrnsaverproto.pc EXTRA_DIST = autogen.sh scrnsaverproto.pc.in + +EXTRA_DIST += ChangeLog +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 -- cgit v1.2.1