summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:10 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:10 -0500
commita07a30f9922e9768e2cf00cc2e479978242c58a8 (patch)
tree415444c3795f22978b73a398b592b0eec9062516
parent087c2ccc7e348e530422a578059173c959aa5a78 (diff)
downloadxorg-proto-xextproto-a07a30f9922e9768e2cf00cc2e479978242c58a8.tar.gz
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog19
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 19 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index ef3ad1f..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,19 +0,0 @@
-2006-06-27 Alan Coopersmith <alan.coopersmith@sun.com>
-
- * Makefile.am:
- * Xagsrv.h [REMOVED]:
- Remove Xserver API for appgroup extension
- [Will break Xorg server builds prior to 2006-06-21 / git commit
- 77c947b900faf34f425eef1549d8210c475e093b]
-
-2006-06-20 Alan Coopersmith <alan.coopersmith@sun.com>
-
- * security.h:
- Remove Xserver API for security extension (#ifdef _SECURITY_SERVER)
- [Will break Xorg server builds prior to 2006-06-20 / git commit
- d44b2a0a57fb89741173c31676af0ccc822387dc]
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
diff --git a/Makefile.am b/Makefile.am
index 782b7d4..bddcacc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,3 +40,13 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xextproto.pc
EXTRA_DIST = autogen.sh xextproto.pc.in
+
+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