]> git.donarmstrong.com Git - lilypond.git/commitdiff
use top-src-dir for make git check too
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 27 Nov 2006 15:40:48 +0000 (16:40 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 27 Nov 2006 15:40:48 +0000 (16:40 +0100)
GNUmakefile.in

index d76c7f665447e8ce6bf397e4bf368f27a1111793..103acbff593fced37ed5fb7744f9010ef3729c06 100644 (file)
@@ -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