summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:28 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:38:28 -0500
commit9e25c9019bd6788076c12cb4356c7d27d6c7d9af (patch)
tree6c344c5bb3dd34f3563643d8a38f654e31631b27
parent8a7f3d450c1f339f429dbce55df523d026c92375 (diff)
downloadxorg-lib-libXft-9e25c9019bd6788076c12cb4356c7d27d6c7d9af.tar.gz
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog20
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 393d955..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,20 +0,0 @@
-2006-06-03 Daniel Stone <daniel@freedesktop.org>
-
- * configure.ac:
- * include/X11/Xft/Xft.h:
- Bump to 2.1.9.
-
- * src/*.c:
- * include/X11/Xft/Xft.h:
- Bug #4711: Don't export unnecessary symbols. (Alan Coopersmith)
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
diff --git a/Makefile.am b/Makefile.am
index b4c24c8..418b4a9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,3 +31,13 @@ pkgconfig_DATA = xft.pc
CLEANFILES = xft-config
EXTRA_DIST = xft-config.in xft.pc.in autogen.sh
+
+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