]> git.donarmstrong.com Git - lilypond.git/blobdiff - GNUmakefile.in
(sectionheading, q.v.): call \quoteexpand for
[lilypond.git] / GNUmakefile.in
index c10baee18339d00f7b549be0bf52dc6d41534bd3..21681b64ccdf5a553134aeba4bca0223cd9de3ef 100644 (file)
@@ -74,7 +74,7 @@ local-WWW-post:
        cd $(top-build-dir) && $(FIND) . -name '*.html' -print | $(footifymail) xargs $(footify)
 
 ## rewrite file names so we lose out-www
-       -mv $(outdir)/web-root/ $(outdir)/old-web-root
+       rm -rf $(outdir)/web-root/ 
        for d in out-www `cd $(top-build-dir) && find Documentation input -name 'out-www' `; do \
                echo $$d ; \
                (mkdir -p $(outdir)/web-root/$$d/ || true) ; \
@@ -83,10 +83,7 @@ local-WWW-post:
                        --include lilypond \
                $(foreach pat,$(web-ext), --include '*'.$(pat)) $(top-build-dir)/$$d/ $(outdir)/web-root/$$d/../ ; \
        done
-## todo: use --link-dest
-#  --link-dest=$(outdir)/old-web-root/$$d
        echo $(TOPLEVEL_VERSION)> $(outdir)/web-root/VERSION 
-       -rm -rf $(outdir)/old-web-root
 
 tree-prefix = $(outdir)
 tree-bin = $(tree-prefix)/bin
@@ -180,7 +177,13 @@ $(tree-share-prefix)/mf-link-tree link-mf-tree: $(tree-share-prefix)/lilypond-fo
 TAGS.make: dummy
        etags -o $@ $(find $(srcdir) -name 'GNUmakefile*' -o -name '*.make')
 
-local-clean: build-dir-setup-clean
+local-clean: build-dir-setup-clean local-web-clean
+
+local-web-clean:
+       rm -rf $(outdir)/web-root/
+
+
+
 build-dir-setup-clean:
        cd $(top-build-dir) && rm -rf share