summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:57 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:57 -0500
commitad1a35b351012a347c49246f986655e3a91431df (patch)
treee70e31a7cadfa76d73312d6bfc15a9a0a1a8b07f
parent63881a6b3f5571ba4c4b3614ea9346c733eb471b (diff)
downloadxorg-proto-damageproto-ad1a35b351012a347c49246f986655e3a91431df.tar.gz
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog39
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 39 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 7f7620c..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,39 +0,0 @@
-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version for X11R7 release.
-
-2005-01-16 Chris Larson <kergoth@handhelds.org>
-
- * configure.ac: Fix to work with automake 1.9.x.
-
-2004-02-03 Jim Gettys <jg@freedesktop.org>
-
- * AUTHORS: Add AUTHORS to file
-
-2004-01-15 Daniel Stone <daniel@fooishbar.org>
- * Tag release 1.0 for first freedesktop.org clientside lib release.
-
-2003-11-03 Keith Packard <keithp@keithp.com>
-
- * protocol:
- Mark document revision
- Credit Havoc the Tolerant for his earlier design and implementation
-
-2003-10-23 Keith Packard <keithp@keithp.com>
-
- * COPYING:
- * INSTALL:
- * Makefile.am:
- * README:
- * autogen.sh:
- * configure.ac:
- * damageext.pc.in:
- * damageproto.h:
- * damagewire.h:
- * protocol:
- Initial working version -- added DamageDestroy and damage objects
-
-2003-10-18 Keith Packard <keithp@keithp.com
-
- Initial protocol description added
diff --git a/Makefile.am b/Makefile.am
index b5ef4bb..32fcf84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,3 +34,13 @@ damagedoc_DATA = damageproto.txt
EXTRA_DIST = autogen.sh damageproto.pc.in $(damagedoc_DATA)
+
+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