]> git.draconx.ca Git - gob-dx.git/blobdiff - Makefile.am
Export GIT_DIR in generate-changelog rule.
[gob-dx.git] / Makefile.am
index e8afbc60007d0c14f730aa7d753853f9c952a875..28ebff90cf526cc50aa933b77ffdde630ad93cf3 100644 (file)
@@ -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 && \