summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 18:48:54 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 18:48:54 -0800
commitfa9b494baacab74d354ee4d5e0f6a1342b2bc723 (patch)
treecb142d7301c06c8fdf3a2f2aab9b14e1f0f5be56
parent2c2900cef3722580fa7b32721809365fad77348a (diff)
Replace static ChangeLog with disthook to generate from git log
-rw-r--r--ChangeLog40
-rw-r--r--Makefile.am11
2 files changed, 10 insertions, 41 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index c0f731b..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,40 +0,0 @@
-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version for X11R7 release.
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
-
-2005-12-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * Makefile.am:
- Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
-2005-11-20 Alan Coopersmith <alan.coopersmith@sun.com>
-
- * configure.ac:
- Change dependency from xmu to xmuu since the full xmu
- (with all its baggage like Xt) is not needed here.
-
-2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC2 release.
-
-2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for RC1 release.
-
-2005-06-30 Alexander Gottwald <ago at freedesktop dot org>
-
- * configure.ac:
- Check for xau.pc
diff --git a/Makefile.am b/Makefile.am
index 688af89..1e3b2f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,7 +38,7 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog
CLEANFILES = $(appman_DATA)
SED = sed
@@ -64,3 +64,12 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+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