diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-08-25 22:09:59 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-25 22:09:59 (EDT) |
commit | 83363c850f5494a95ac989f6cc89f840a0b04302 (patch) | |
tree | c6a8fe6b4456664c2fa2e80e040ab70340345f52 | |
parent | f0536bed01107ccce6eb8e6473ad3dfc312a083f (diff) |
Makefile.am: Fix out-of-tree ChangeLog generation
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index b36ddd8..9db0d38 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,7 +155,8 @@ dist-hook: if [ -d '$(srcdir)/.git' ]; then \ printf 'Generated file. Do not edit.\n\n' \ >'$(distdir)/ChangeLog~'; \ - git log --stat >>'$(distdir)/ChangeLog~'; \ + GIT_DIR='$(srcdir)/.git' git log --stat \ + >>'$(distdir)/ChangeLog~'; \ mv '$(distdir)/ChangeLog~' '$(distdir)/ChangeLog'; \ fi |