]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/topdocs/GNUmakefile
Imported Upstream version 2.16.0
[lilypond.git] / Documentation / topdocs / GNUmakefile
index 254c98a837a33378c6d767a9af19ca39be0dc91b..ce3dc1f42beec03241cb71d546e8b2f99dd37385 100644 (file)
@@ -1,14 +1,18 @@
 depth = ../..
 
+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)
+README_TOP_FILES=NEWS AUTHORS INSTALL README
+OUTTXT_FILES= $(outdir)/NEWS.txt
 
-STEPMAKE_TEMPLATES=documentation tex texinfo yolily-topdoc
-LOCALSTEPMAKE_TEMPLATES=lilypond mudela
-HTML_FILES=$(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html))
+include $(depth)/make/stepmake.make
 
+# FIXME ad-hoc file copy?
+$(outdir)/NEWS.tely: $(top-src-dir)/Documentation/changes.tely
+       cp -f $< $@
 
-include $(depth)/make/stepmake.make 
-
-local-WWW: $(HTML_FILES)
-# we want footers even if website builds (or is built) partly
-       $(MAKE) footify
-
+ifeq ($(out),www)
+local-WWW-1: $(OUT_TEXI_FILES)
+endif