summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:18 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:18 -0500
commit686e8b6d33602f5fb7de7a768e532a4ac8090c26 (patch)
tree7bcdac035626895873c9291c712370b9899a5f35
parent6aae208fe5bd8f71757c294a441d7c599a1ec4a1 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog51
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 51 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 093899d..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,51 +0,0 @@
-2006-04-26 Adam Jackson <ajax@freedesktop.org>
-
- * configure.ac:
- Bump to 1.0.2
-
-2006-04-03 Daniel Stone <daniel@freedesktop.org>
-
- * compat.c:
- Bug #4851: Fix up have-no-file test.
-
-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-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for RC1 release.
-
-2005-10-15 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * Makefile.am: Have generated files be cleaned by maintainer in
- order to pass check-tarball test.
-
-2005-09-01 Kristian Høgsberg <krh@redhat.com>
-
- * Makefile.am (AM_CFLAGS): Define DFLT_XKB_CONFIG_ROOT to
- $(datadir)/X11/xkb so we look in the right place.
-
-2005-08-02 Keith Packard <keithp@keithp.com>
-
- * Makefile.am:
- Mark generated files as BUILT_SOURCES and CLEANFILES
- to ensure they are regenerated after 'make clean' and
- to make parallel builds work right.
diff --git a/Makefile.am b/Makefile.am
index 3e63535..5a825f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -98,3 +98,13 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+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