From f930da05f9d0af42d2daa026b1e99a9e5f0ff4a7 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 17 Aug 2007 16:26:04 -0700 Subject: Replace static ChangeLog with dist-hook to generate from git log --- ChangeLog | 42 ------------------------------------------ Makefile.am | 8 +++++++- 2 files changed, 7 insertions(+), 43 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 2f0efb9..0000000 --- a/ChangeLog +++ /dev/null @@ -1,42 +0,0 @@ -2006-04-01 Adam Jackson - - * configure.ac: - Bump to 1.0.1. - -2006-01-16 Matthias Hopf - - * xdriinfo.c: - GLX_GLXEXT_LEGACY -> GLX_GLXEXT_PROTOTYPES + glxext.h - -2006-01-13 Matthias Hopf - - * configure.ac: - Using glXGetProcAddressARB instead of glXGetProcAddress. - * xdriinfo.c: (main): - Casting to GLubyte* to remove warning. - -2005-12-14 Kevin E. Martin - - * configure.ac: - Update package version number for final X11R7 release candidate. - -2005-12-06 Kevin E. Martin - - * 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-10-18 Kevin E. Martin - - * configure.ac: - Update package version number for RC1 release. - -2005-10-18 Kevin E. Martin - - * configure.ac: Remove check for gl/glx.h as that fails when - installing Mesa in a non-standard directory and causes the build - script to exit. diff --git a/Makefile.am b/Makefile.am index 5976e62..1d79232 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,8 +34,14 @@ 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 + +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 -- cgit v1.2.3