From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Mon, 27 Nov 2006 15:40:48 +0000 (+0100)
Subject: use top-src-dir for make git check too
X-Git-Tag: release/2.11.0-1~1
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a7b199549d3f15d07f382fdbc81a306a8f912568;p=lilypond.git

use top-src-dir for make git check too
---

diff --git a/GNUmakefile.in b/GNUmakefile.in
index d76c7f6654..103acbff59 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -35,10 +35,10 @@ include $(depth)/make/stepmake.make
 local-dist: dist-toplevel-txt-files dist-changelog
 
 dist-changelog:
-	if  test -d $(srcdir)/.git ; then \
+	if  test -d $(top-src-dir)/.git ; then \
 		git-whatchanged gub-2.9.29-2.. > $(distdir)/ChangeLog ; \
 	else \
-		cp $(srcdir)/ChangeLog $(distdir) ; \
+		cp $(top-src-dir)/ChangeLog $(distdir) ; \
 	fi
 
 default: $(outdir)/VERSION