From 51703b6050ee1e7b88a3eead1e2737ffc2dda924 Mon Sep 17 00:00:00 2001 From: James Cloos Date: Thu, 6 Dec 2007 16:38:37 -0500 Subject: Replace static ChangeLog with dist-hook to generate from git log --- ChangeLog | 37 ------------------------------------- Makefile.am | 10 ++++++++++ 2 files changed, 10 insertions(+), 37 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 8e5428f..0000000 --- a/ChangeLog +++ /dev/null @@ -1,37 +0,0 @@ -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-03 Kevin E. Martin - - * configure.ac: - Update package version number for X11R7 RC3 release. - -2005-11-19 Kevin E. Martin - - * xprintapputil.pc.in: - Update pkgconfig files to separate library build-time dependencies - from application build-time dependencies. - * configure.ac: - Update dependencies to work with separate build roots. - -2005-10-18 Kevin E. Martin - - * configure.ac: - Update package version number for RC1 release. - -2005-07-08 Keith Packard - - * .cvsignore: - * include/X11/.cvsignore: - * src/.cvsignore: - * src/Makefile.am: - Add .cvsignore files - Switch _la_CFLAGS for AM_CFLAGS to clean up directory - diff --git a/Makefile.am b/Makefile.am index 8d78643..9112ac2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,3 +26,13 @@ pkgconfig_DATA = xprintapputil.pc EXTRA_DIST = xprintapputil.pc.in autogen.sh + +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.3