diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-01-24 16:41:46 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-01-24 16:41:46 +0000 |
commit | d1ccc12dd1dee34faae52c7b325048ea801599fd (patch) | |
tree | 717a5dcb8ea8922c7802f15cf2d92acc88314a82 | |
parent | 1ee2b1a8cf729a71ae56e5671564c5fd62504707 (diff) | |
download | dbus-python-d1ccc12dd1dee34faae52c7b325048ea801599fd.tar.gz |
Generate ChangeLog correctly when out-of-tree
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 04073b4..0f410a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,10 +60,10 @@ cross-test-client: dist-hook: chmod u+w $(distdir)/ChangeLog if test -d $(top_srcdir)/.git; then \ - if git log --stat > $(distdir)/ChangeLog; then \ + if GIT_DIR=$(top_srcdir)/.git git log --stat > $(distdir)/ChangeLog; then \ : ; \ else \ - git log > $(distdir)/ChangeLog; \ + GIT_DIR=$(top_srcdir)/.git git log > $(distdir)/ChangeLog; \ fi; \ fi |