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