]> git.donarmstrong.com Git - lilypond.git/blobdiff - GNUmakefile.in
Add buildscripts/ to PYTHONPATH
[lilypond.git] / GNUmakefile.in
index 6da515c15dcfea28f0acb83641ce100b54a124d2..aa7d227c592cb7615d2099cbfa3618441883a9f4 100644 (file)
@@ -82,12 +82,12 @@ final-install:
 # For both online and offline docs, issue `make web WEB_TARGETS="offline online"'
 WEB_TARGETS = offline
 
-local-WWW-post:
+WWW-post:
 # need UTF8 setting in case this is hosted on a website. 
        echo -e 'AddDefaultCharset utf-8\nAddCharset utf-8 .html\nAddCharset utf-8 .en\nAddCharset utf-8 .nl\nAddCharset utf-8 .txt\n' > $(top-build-dir)/.htaccess
        $(PYTHON) $(buildscript-dir)/mutopia-index.py -o $(outdir)/examples.html input/
        find $(outdir) -name '*-root' | xargs rm -rf
-       $(PYTHON) $(buildscript-dir)/www_post.py $(PACKAGE_NAME) $(TOPLEVEL_VERSION) $(buildscript-dir) $(outdir) "$(WEB_TARGETS)"
+       $(PYTHON) $(buildscript-dir)/www_post.py $(PACKAGE_NAME) $(TOPLEVEL_VERSION) $(outdir) "$(WEB_TARGETS)"
        find $(outdir)/offline-root -type l -delete
 
 
@@ -204,7 +204,7 @@ RESULT_DIR=$(top-build-dir)/out/test-results
 
 test:
        @echo -en 'For tracking crashes: use\n\n\t'
-       @echo 'grep sourcefilename `grep -L systems.texi input/regression/out-test/*log|sed s/log/ly/g`'
+       @echo 'grep sourcefilename `grep -L systems.texi out/lybook-db/*/*log|sed s/log/ly/g`'
        @echo
        $(MAKE) -C input/regression/ out=test local-test
        $(MAKE) -C input/regression/musicxml out=test local-test
@@ -217,7 +217,7 @@ test-baseline:
        $(MAKE) test
        $(MAKE) out=test -C input/regression/ local-test-baseline
        $(MAKE) out=test -C input/regression/musicxml local-test-baseline
-       rm -rf out/lybook-testdb/
+       $(MAKE) test-snippets-clean
 
 
 local-check: test
@@ -234,8 +234,11 @@ test-redo:
        done
        $(MAKE) check
 
-test-clean: snippets-clean
+test-clean: test-snippets-clean
        $(MAKE) -C input/regression/ out=test clean
 
 snippets-clean:
        rm -rf out/lybook-db
+
+test-snippets-clean:
+       rm -rf out/lybook-testdb