summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:12 -0500
committerSung-Jin Park <sj76.park@samsung.com>2013-09-02 23:37:51 -0400
commit8bb77542f1b955de824d5df5777428d1288d4fb6 (patch)
tree1e49c733e122ef476275f72606cdff6cb443d4be
parenta39c2f33c93af44bdb0fda02aac8406085386e53 (diff)
downloadxeyes-8bb77542f1b955de824d5df5777428d1288d4fb6.tar.gz
xeyes-8bb77542f1b955de824d5df5777428d1288d4fb6.tar.bz2
xeyes-8bb77542f1b955de824d5df5777428d1288d4fb6.zip
Replace static ChangeLog with dist-hook to generate from git log
Change-Id: I645a90287502e5e62a54885af6b6d16974673101
-rw-r--r--ChangeLog25
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 25 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 6eb4c51..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,25 +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-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.
-
diff --git a/Makefile.am b/Makefile.am
index 90b4ada..75fd69d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,3 +67,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