copy-to-top: $(TO_TOP_FILES)
$(foreach i, $(TO_TOP_FILES), \
- cp $(i) $(depth)/ && ) true
- -cp $(outdir)/*png $(outdir)/index.html $(depth) # don't fail if not making website
+ 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
local-WWW: $(HTML_FILES) copy-to-top
# we want footers even if website builds (or is built) partly