diff options
author | James Cloos <cloos@jhcloos.com> | 2007-12-06 16:38:56 -0500 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2007-12-06 16:38:56 -0500 |
commit | 1ea5b191cccf465e595ac571e1c7254d0161cb8d (patch) | |
tree | 5951fabbf352b6813ab983b928ac9fb7566513de | |
parent | a1d5ef0c73fbef3e758c51b57ac69ba9567bae04 (diff) |
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index b36632c..0000000 --- a/ChangeLog +++ /dev/null @@ -1,5 +0,0 @@ -2004-10-21 Daniel Stone <daniel@freedesktop.org> - - * configure.ac: - * xcalibratewire.h: - Bump version to 0.1. diff --git a/Makefile.am b/Makefile.am index 87bcd58..2e7dee2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,3 +27,13 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = xcalibrateproto.pc EXTRA_DIST = autogen.sh xcalibrateproto.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 |