]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/lysdoc-targets.make
Take git diff from src-dir for test target.
[lilypond.git] / make / lysdoc-targets.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)