- echo '<META HTTP-EQUIV="refresh" content="0;URL=Documentation/index.html">' > $(outdir)/index.html
- echo '<html><body>Redirecting to the documentation index...</body></html>' >> $(outdir)/index.html
-
- cd $(top-build-dir) && $(FIND) . -name '*.html' -print | $(footifymail) xargs $(footify)
- cd $(top-build-dir) && find . -name \*.html~ -print | xargs rm -f
-
-## rewrite file names so we lose out-www
- -mv $(outdir)/web-root/ $(outdir)/old-web-root
- for d in out-www `cd $(top-build-dir) && find Documentation input -name 'out-www' -or -type l`; do \
- (mkdir -p $(outdir)/web-root/$$d/ || true) ; \
- rsync -a $(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
- -rm -rf $(outdir)/old-web-root
-
+ rm -rf $(outdir)/online-root
+ rm -rf $(outdir)/offline-root
+ $(PYTHON) $(buildscript-dir)/www_post.py $(PACKAGE_NAME) $(TOPLEVEL_VERSION) $(buildscript-dir) $(outdir) "$(WEB_TARGETS)"