]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/GNUmakefile
patch::: 1.3.140.jcn5
[lilypond.git] / Documentation / topdocs / GNUmakefile
1 depth = ../..
2
3
4 STEPMAKE_TEMPLATES=documentation tex texinfo
5 LOCALSTEPMAKE_TEMPLATES=lilypond ly
6 HTML_FILES=$(addprefix $(outdir)/, $(TEXI_FILES:.texi=.html) $(TELY_FILES:.tely=.html))
7
8 #default: local-doc 
9
10 include $(depth)/make/stepmake.make 
11
12 copy-to-top:  $(TO_TOP_FILES)
13         $(foreach i, $(TO_TOP_FILES), \
14           cp $(i) $(depth)/ && ) true
15         -cp $(outdir)/*png $(outdir)/index.html $(depth)  # don't fail if not making website
16
17 ###local-WWW: copy-to-top
18
19 local-WWW: $(HTML_FILES) copy-to-top
20 # we want footers even if website builds (or is built) partly
21         $(MAKE) footify
22