]> git.donarmstrong.com Git - lilypond.git/commitdiff
Take git diff from src-dir for test target.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 25 Feb 2008 02:35:34 +0000 (23:35 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 25 Feb 2008 02:35:34 +0000 (23:35 -0300)
GNUmakefile.in
make/lysdoc-targets.make

index 52e4a1b3142aabca6d69b4aba281bb337f56e685..9f50bd0707704b93b9e02278c2ffbc64aae85d15 100644 (file)
@@ -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) 
index 28b84beee2c6616260584b6fe3fbd222f2bc4f75..b216c11bdeff8e5835b347822a24f1c776bb94d9 100644 (file)
@@ -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)