summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-01-25 12:11:41 +0100
committerWerner Koch <wk@gnupg.org>2012-01-25 12:11:41 +0100
commit495dc68586356891b82a2d2b6367c4131fd17f08 (patch)
treeff3c0435b205ba3bd94a4a730b36f7aba75d5b63 /Makefile.am
parentExtend gitlog-to-changelog option --tear-off. (diff)
downloadgnupg2-495dc68586356891b82a2d2b6367c4131fd17f08.tar.xz
gnupg2-495dc68586356891b82a2d2b6367c4131fd17f08.zip
Require gitlog-to-changelog to be installed.
* Makefile.am (GITLOG_TO_CHANGELOG): New. (gen-ChangeLog): Use installed version of gitlog-to-changelog. -- In case an appropriate version of gitlog-to-changelog is not in the PATH, it is possible to override it using something like: make distcheck GITLOG_TO_CHANGELOG=/foo/bar/my-gitlog-to-changelog
Diffstat (limited to '')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 49ec3fc78..6207d7bb9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,6 +22,8 @@ ACLOCAL_AMFLAGS = -I m4 -I gl/m4
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
DISTCHECK_CONFIGURE_FLAGS = --enable-symcryptrun --enable-mailto --enable-gpgtar
+GITLOG_TO_CHANGELOG=gitlog-to-changelog
+
EXTRA_DIST = scripts/config.rpath scripts/potomo autogen.sh README.GIT \
ChangeLog-2011 po/ChangeLog-2011 scripts/ChangeLog-2011 \
scripts/gitlog-to-changelog \
@@ -115,8 +117,7 @@ gen_start_date = 2011-12-01T06:00:00
gen-ChangeLog:
if test -d $(top_srcdir)/.git; then \
(cd $(top_srcdir) && \
- ./scripts/gitlog-to-changelog \
- --append-dot --tear-off \
+ $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
--amend=scripts/git-log-fix \
--since=$(gen_start_date) ) > $(distdir)/cl-t; \
cat $(top_srcdir)/scripts/git-log-footer >> $(distdir)/cl-t; \