-default: local-doc
+default: local-txt-doc
-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
+ifeq ($(out),www)
+local-WWW-1: $(PDF_FILES)
-local-WWW: $(HTML_FILES) copy-to-top
-# we want footers even if website builds (or is built) partly
- $(MAKE) footify
+local-WWW-2: $(HTML_FILES)
+endif
+txt-files: $(TO_TOP_FILES)