From 056f3dacc637a7a7c662dee95e5c5393abdab111 Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Mon, 27 Nov 2006 17:23:34 +0100
Subject: [PATCH] run git in srcdir too.

---
 GNUmakefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 103acbff59..04a305ed76 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -36,7 +36,7 @@ local-dist: dist-toplevel-txt-files dist-changelog
 
 dist-changelog:
 	if  test -d $(top-src-dir)/.git ; then \
-		git-whatchanged gub-2.9.29-2.. > $(distdir)/ChangeLog ; \
+		cd $(top-src-dir) && git-whatchanged gub-2.9.29-2.. > $(distdir)/ChangeLog ; \
 	else \
 		cp $(top-src-dir)/ChangeLog $(distdir) ; \
 	fi
-- 
2.39.5