depth = ../..
-STEPMAKE_TEMPLATES=documentation tex texinfo yolily-topdoc
+STEPMAKE_TEMPLATES=documentation tex texinfo topdocs
LOCALSTEPMAKE_TEMPLATES=lilypond ly
-HTML_FILES=$(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html))
+HTML_FILES=$(TEXI_FILES:%.texi=$(outdir)/%.html) $(TELY_FILES:%.tely=$(outdir)/%.html)
+PDF_FILES=$(outdir)/NEWS.pdf
+include $(depth)/make/stepmake.make
+ifneq ($(out),www)
+LILYPOND='true'
+endif
-include $(depth)/make/stepmake.make
-
-local-WWW: $(HTML_FILES)
-# we want footers even if website builds (or is built) partly
- $(MAKE) footify
+$(outdir)/NEWS.nexi: NEWS.tely