From: Han-Wen Nienhuys Date: Mon, 25 Feb 2008 02:35:34 +0000 (-0300) Subject: Take git diff from src-dir for test target. X-Git-Tag: release/2.11.41-1~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7a58628ec4dfbd07e2c4099f9e2e290faaff8b72;p=lilypond.git Take git diff from src-dir for test target. --- diff --git a/GNUmakefile.in b/GNUmakefile.in index 52e4a1b314..9f50bd0707 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -209,7 +209,7 @@ test: $(MAKE) -C input/regression/musicxml out=test local-test test-baseline: - @if test -d .git ; then \ + @if test -d .git ; then \ $(if $(shell git diff), echo "commit before base lining" && false,true) ; \ fi $(MAKE) diff --git a/make/lysdoc-targets.make b/make/lysdoc-targets.make index 28b84beee2..b216c11bde 100644 --- a/make/lysdoc-targets.make +++ b/make/lysdoc-targets.make @@ -12,9 +12,9 @@ local-test: rm -f $(outdir)/collated-files.html if test -d $(top-src-dir)/.git ; then \ echo -e 'HEAD is:\n\n\t' ; \ - git log --max-count=1 --pretty=oneline ;\ + (cd $(top-src-dir) && git log --max-count=1 --pretty=oneline ) ;\ echo -e '\n\n\n' ; \ - git diff ; \ + (cd $(top-src-dir) && git diff ) ; \ fi > $(outdir)/tree.gittxt $(MAKE) LILYPOND_BOOK_LILYPOND_FLAGS="-dbackend=eps --formats=ps $(LILYPOND_JOBS) -dseparate-log-files -dinclude-eps-fonts -dgs-load-lily-fonts --header=texidoc -I $(top-src-dir)/input/manual -ddump-profile -dcheck-internal-types -ddump-signatures -danti-alias-factor=1" LILYPOND_BOOK_VERBOSE= $(outdir)/collated-files.html rsync -L -a --exclude 'out-*' --exclude 'out' --exclude mf --exclude source --exclude mf $(top-build-dir)/out/share $(outdir)