summaryrefslogtreecommitdiff
path: root/app/xev/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-19 16:59:35 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-19 16:59:35 +0000
commitfbeab7401184292815a346d44483ca8478250e72 (patch)
treef96ce9195e7b80881dbe7671e8eb7306bebc0389 /app/xev/Makefile.am
parenta74783d0089450c27a42fba585eeb6478208d360 (diff)
update to xev 1.0.3
Diffstat (limited to 'app/xev/Makefile.am')
-rw-r--r--app/xev/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/xev/Makefile.am b/app/xev/Makefile.am
index ea7ed668a..3af1bdaeb 100644
--- a/app/xev/Makefile.am
+++ b/app/xev/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,9 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
.man.$(APP_MAN_SUFFIX):
sed $(MAN_SUBSTS) < $< > $@
+
+.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