summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:19 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:19 -0500
commit7a0686b98d54fe77b10c52d7c4cc9e84a4df4479 (patch)
treef2fb5eb3d8e0229ea9fda623f56d2e0c741ab4c1
parent95878b55dd4f6cbba6c2d2c1e9e5d25d44b8f5e6 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog29
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 29 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 53eea06..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,29 +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-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
-2005-11-19 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update dependencies to work with separate build roots.
-
-2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC2 release.
-
-2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update pkgcheck depedencies to work with separate build roots.
diff --git a/Makefile.am b/Makefile.am
index 15859b3..33b0646 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,3 +40,13 @@ xkbbell_LDADD = $(XKBBELL_LIBS)
xkbwatch_SOURCES = xkbwatch.c LED.c LED.h LEDP.h utils.c utils.h
xkbwatch_CFLAGS = $(XKBWATCH_CFLAGS)
xkbwatch_LDADD = $(XKBWATCH_LIBS)
+
+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