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) ; \
--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
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