From 8bbc3b75318c67f6089d50f68d53d092390c8233 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 6 Jun 2007 18:41:36 -0700 Subject: [PATCH] Replace static ChangeLog with dist-hook to generate from git --- ChangeLog | 49 ------------------------------------------------- Makefile.am | 8 +++++++- 2 files changed, 7 insertions(+), 50 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 9eff79a..0000000 --- a/ChangeLog +++ /dev/null @@ -1,49 +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 - - * xtst.pc.in: - Update pkgconfig files to separate library build-time dependencies - from application build-time dependencies. - -2005-11-09 Kevin E. Martin - - * configure.ac: - Update package version number for X11R7 RC2 release. - -2005-11-01 Kevin E. Martin - - * configure.ac: - Update pkgcheck 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: - * src/.cvsignore: - * src/Makefile.am: - Add .cvsignore files - Switch _la_CFLAGS for AM_CFLAGS to clean up directory - -2005-06-21 Alexander Gottwald - - * configure.ac - Add missing xext.pc and xextproto.pc - diff --git a/Makefile.am b/Makefile.am index ec888f5..0a994aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,7 +24,13 @@ SUBDIRS = src man pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = xtst.pc -EXTRA_DIST = xtst.pc.in autogen.sh +EXTRA_DIST = xtst.pc.in autogen.sh ChangeLog +MAINTAINERCLEANFILES = 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 if LINT lint: -- 2.7.4