depth = ../..
-STEPMAKE_TEMPLATES=documentation tex texinfo yolily-topdoc
-LOCALSTEPMAKE_TEMPLATES=lilypond mudela
-HTML_FILES=$(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html))
+STEPMAKE_TEMPLATES=documentation tex texinfo topdocs
+LOCALSTEPMAKE_TEMPLATES=lilypond ly
+OUT_TEXI_FILES = $(TELY_FILES:%.tely=$(outdir)/%.texi)
+HTML_FILES=$(TEXI_FILES:%.texi=$(outdir)/%.html) $(TELY_FILES:%.tely=$(outdir)/%.html)
+PDF_FILES=$(outdir)/NEWS.pdf
+README_TOP_FILES=NEWS AUTHORS INSTALL README
+OUTTXT_FILES= $(outdir)/NEWS.txt
+include $(depth)/make/stepmake.make
-include $(depth)/make/stepmake.make
-
-local-WWW: $(HTML_FILES)
-# we want footers even if website builds (or is built) partly
- $(MAKE) footify
+local-WWW-1: $(OUT_TEXI_FILES)
+.SECONDARY: