]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/topdocs/GNUmakefile
patch::: 1.3.140.jcn5
[lilypond.git] / Documentation / topdocs / GNUmakefile
index cfef86420064dd6e8a84af05e85aa648460ad10c..80ab9a654afbbad1f5bec54934742d62f31ddd2a 100644 (file)
@@ -1,14 +1,22 @@
 depth = ../..
 
 
-STEPMAKE_TEMPLATES=documentation tex texinfo yolily-topdoc
+STEPMAKE_TEMPLATES=documentation tex texinfo
 LOCALSTEPMAKE_TEMPLATES=lilypond ly
 HTML_FILES=$(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html))
 
+#default: local-doc 
 
 include $(depth)/make/stepmake.make 
 
-local-WWW: $(HTML_FILES)
+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
+
+###local-WWW: copy-to-top
+
+local-WWW: $(HTML_FILES) copy-to-top
 # we want footers even if website builds (or is built) partly
        $(MAKE) footify