summaryrefslogtreecommitdiff
path: root/app/editres/Makefile.am
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-03 10:31:04 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-03-03 10:31:04 +0000
commite3080e134186e0d1d318af2f3f30f130f759b856 (patch)
treece6e968b022134c24232802291a37c5bb9080e6e /app/editres/Makefile.am
parentc33fa5c6a251ba60b4ef0925afe66d886e254929 (diff)
merge version 1.0.3
Diffstat (limited to 'app/editres/Makefile.am')
-rw-r--r--app/editres/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/editres/Makefile.am b/app/editres/Makefile.am
index f05f6dc10..411e70304 100644
--- a/app/editres/Makefile.am
+++ b/app/editres/Makefile.am
@@ -48,7 +48,7 @@ APPDEFAULTFILES = \
Editres-color \
Editres
-EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad)
+EXTRA_DIST = $(APPDEFAULTFILES:%=%.ad) ChangeLog autogen.sh
SUFFIXES = .ad
@@ -58,7 +58,12 @@ SUFFIXES = .ad
appdefault_DATA = $(APPDEFAULTFILES)
CLEANFILES = $(APPDEFAULTFILES)
+MAINTAINERCLEANFILES=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
appmandir = $(APP_MAN_DIR)