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
+HTML_FILES=$(TEXI_FILES:%.texi=$(outdir)/%.html) $(TELY_FILES:%.tely=$(outdir)/%.html)
+PDF_FILES=$(outdir)/NEWS.pdf
+include $(depth)/make/stepmake.make
+MAKEINFO_FLAGS += -I $(top-src-dir)/Documentation/user
-include $(depth)/make/stepmake.make
+ifneq ($(out),www)
+LILYPOND_BINARY='true'
+endif
+
+$(outdir)/NEWS.nexi: NEWS.tely
-local-WWW: $(HTML_FILES)
-# we want footers even if website builds (or is built) partly
- $(MAKE) footify