From 2b30413598663b75acff0cafb21c2e3d8a727c9a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 3 Jul 2008 15:01:32 +0930 Subject: Remove static ChangeLog, autogenerate as part of make dist. Hook taken from xserver's Makefile.am (cherry picked from commit ec23c6b2f550f2679226da907c1d022295d453f1) --- ChangeLog | 47 ----------------------------------------------- Makefile.am | 12 ++++++++++++ 2 files changed, 12 insertions(+), 47 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 2c448ae..0000000 --- a/ChangeLog +++ /dev/null @@ -1,47 +0,0 @@ -2006-01-09 David Nusinow,,, - - * man/Makefile.am: - * man/evdev.man: - Bugzilla #968 - Patch #4301 - Add evdev manpage - -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-06 Kevin E. Martin - - * man/Makefile.am: - Change *man_SOURCES ==> *man_PRE to fix autotools warnings. - -2005-12-03 Kevin E. Martin - - * configure.ac: - Update package version number for X11R7 RC3 release. - -2005-12-01 Kevin E. Martin - - * configure.ac: - Remove extraneous AC_MSG_RESULT. - -2005-11-29 Adam Jackson - - * configure.ac: - Only build dlloader modules by default. - -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. diff --git a/Makefile.am b/Makefile.am index 7052905..11064e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,15 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man + +EXTRA_DIST = ChangeLog autogen.sh + +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