summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:07 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:39:07 -0500
commit7e19b4a5ad470f1715046f56ea8149df851221e4 (patch)
tree0ae784659c4931a492550ab5136316bec7d42a69
parent00aa1552d0c151402173ce9e4f612d84e4bbddcf (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog18
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 0acb57a..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,18 +0,0 @@
-2006-03-31 Fredrik Höglund <fredrik@kde.org>
-
- * configure.ac:
- Update the package version number to 1.1.
-
- * saver.h:
- Increase the minor version to 1.
-
- * saverproto.h:
- Add the ScreenSaverSuspend request.
-
- * scrnsaver.h:
- Add the prototype for XScreenSaverSuspend.
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
diff --git a/Makefile.am b/Makefile.am
index aa73785..f836985 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,3 +8,13 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = scrnsaverproto.pc
EXTRA_DIST = autogen.sh scrnsaverproto.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