From 36d8d6594f34f1ff76b80a6ddf8a005c5ca4b24d Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 11 Feb 2020 19:27:58 -0500 Subject: [PATCH] Export GIT_DIR in generate-changelog rule. We set GIT_DIR in this build rule, but since it's not exported in the rule none of the commands will see it under normal circumstances. Easily fixed. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e8afbc6..28ebff9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -121,7 +121,7 @@ git_changelog_start = 2cd951c678998b2b0230c8eb25717ecf0f1dd2db dist-hook: generate-changelog generate-changelog: unfuck-distdir -: "$${GIT_DIR=$(top_srcdir)/.git}"; \ - test -d "$$GIT_DIR" || exit 0; { \ + export GIT_DIR; test -d "$$GIT_DIR" || exit 0; { \ $(PERL) -x $(top_srcdir)/build-aux/gitlog-to-changelog -- \ $(git_changelog_start).. && \ echo && \ -- 2.43.0