]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/GNUmakefile
patch::: 1.3.146.jcn4
[lilypond.git] / Documentation / GNUmakefile
1 depth = ..
2
3 NAME = documentation
4 SUBDIRS=user bibliography pictures topdocs misc windows
5 STEPMAKE_TEMPLATES=documentation texinfo tex
6 LOCALSTEPMAKE_TEMPLATES=lilypond ly
7
8 README_TOP_FILES=NEWS DEDICATION CHANGES 
9 EXTRA_DIST_FILES=
10
11 include $(depth)/make/stepmake.make 
12
13 default: local-doc
14
15 test-reg:
16         rm -f out-www/regression-test.html out-www/regression-test.texi 
17         $(MAKE) out=www out-www/regression-test.html
18
19 local-WWW: copy-for-me txt-to-html $(outdir)/regression-test.ps.gz $(outdir)/regression-test.html footify
20
21 copy-for-me:
22         $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true
23
24 txt-to-html:
25         $(foreach a, $(README_TOP_FILES), \
26                 echo "<html><body><xmp>" > $(outdir)/$(a).html;\
27                 cat $(outdir)/$(a).txt >> $(outdir)/$(a).html;\
28                 echo "</xmp></body></html>" >> $(outdir)/$(a).html\
29         && ) true
30         $(footify) $(addprefix $(outdir)/, $(addsuffix .html, $(README_TOP_FILES)))