]> git.donarmstrong.com Git - lilypond.git/blobdiff - GNUmakefile.in
Doc: Update for staff.itely
[lilypond.git] / GNUmakefile.in
index bf3952b1a89c4a79fbcf3a897465994e525e61e5..146d3af083ca3611ce9e53c3dfd005d346a55264 100644 (file)
@@ -51,22 +51,26 @@ dist-toplevel-txt-files:
 doc: 
        $(MAKE) -C Documentation
 
+install-help2man:
+       $(MAKE) -C scripts man install-help2man
+       $(MAKE) -C lily man install-help2man
+
+# All web targets, except info image symlinks and info docs are
+# installed in non-recursing target from TOP-SRC-DIR
 install-WWW:
        -$(INSTALL) -m 755 -d $(DESTDIR)$(webdir)
        rsync -rl $(outdir)/offline-root/ $(DESTDIR)$(webdir)
-       $(MAKE) -C Documentation/user local-install-WWW
        $(MAKE) -C Documentation/user install-info
        $(MAKE) -C input/lsr install-info
 
-install-help2man:
-       $(MAKE) -C scripts man install-help2man
-       $(MAKE) -C lily man install-help2man
-
 web-install:
        $(MAKE) out=www install-WWW
 
 uninstall-WWW:
-       echo TODO
+       rm -rf $(DESTDIR)$(webdir)
+       -rmdir $(package_docdir)
+       $(MAKE) -C Documentation/user uninstall
+       $(MAKE) -C input/lsr uninstall
 
 web-uninstall:
        $(MAKE) out=www uninstall-WWW
@@ -108,11 +112,9 @@ c-clean:
 
 src-ext = c cc yy ll hh icc py scm tex ps texi itexi tely itely sh
 
-web-clean: snippets-clean
-       $(MAKE) out=www clean
-       $(MAKE) $(tree-share-prefix)/lilypond-force
+web-clean: snippets-clean $(tree-share-prefix)/lilypond-force
 
-default: $(config_h) build-dir-setup 
+default: $(config_h) build-dir-setup
 
 build-dir-setup: $(tree-share-prefix)/lilypond-force
 
@@ -206,7 +208,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
@@ -219,6 +221,8 @@ test-baseline:
        $(MAKE) test
        $(MAKE) out=test -C input/regression/ local-test-baseline
        $(MAKE) out=test -C input/regression/musicxml local-test-baseline
+       $(MAKE) test-snippets-clean
+
 
 local-check: test
        rm -rf $(RESULT_DIR)
@@ -234,8 +238,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