summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 05:13:52 -0500
committerSung-Jin Park <sj76.park@samsung.com>2013-09-02 23:32:30 -0400
commit0a18989e8819023c32a2ad896fc12c6a2a2872ac (patch)
tree3aff02566f8c33b6c8514203f3cff930a5ae963a
parent2da6af46377f6da7e42555fef77f94821f3f5cf0 (diff)
downloadxev-0a18989e8819023c32a2ad896fc12c6a2a2872ac.tar.gz
xev-0a18989e8819023c32a2ad896fc12c6a2a2872ac.tar.bz2
xev-0a18989e8819023c32a2ad896fc12c6a2a2872ac.zip
Replace static ChangeLog with dist-hook to generate from git log
Change-Id: Idda5b7c81b82da7c1cb9e4918dd14f63b2907995
-rw-r--r--ChangeLog39
-rw-r--r--Makefile.am7
2 files changed, 6 insertions, 40 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index d796248..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,39 +0,0 @@
-2007-12-06 James Cloos <cloos@jhcloos.com>
-
- * xev.c:
- Bug #319: handle WM_DELETE_WINDOW. (Noah Levitt)
-
-2006-06-02 Daniel Stone <daniel@freedesktop.org>
-
- * configure.ac:
- Bump to 1.0.2.
-
- * xev.c:
- Bug #6598: Run XFilterEvent() on all events, not just KeyPresses.
- (Samuel Thibault)
-
-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 ea7ed66..61a3e84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,8 +35,9 @@ appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-EXTRA_DIST = $(appman_PRE)
+EXTRA_DIST = $(appman_PRE) ChangeLog
CLEANFILES = $(appman_DATA)
+MAINTAINERCLEANFILES = ChangeLog
SED = sed
@@ -61,3 +62,7 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+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