copy-to-top: $(TO_TOP_FILES)
$(foreach i, $(TO_TOP_FILES), \
- cp $(i) $(depth)/$(builddir) && ) true
- -cp $(outroot)/out-www/*png $(outroot)/out-www/index.html $(depth)/$(builddir)
- -cp $(outdir)/*png $(outdir)/index.html $(depth)/$(builddir) # don't fail when not making website
+ cp $(i) $(top-build-dir) && ) true
-local-WWW: $(HTML_FILES) copy-to-top
-# we want footers even if website builds (or is built) partly
- $(MAKE) footify
+local-WWW: $(HTML_FILES) $(PDF_FILES) copy-to-top