]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/GNUmakefile
patch::: 1.4.0.jcn6
[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 OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(README_TOP_FILES)))
25
26 # cd $(outdir) rule gets bit hairy for --srcdir configure builds
27 txt-to-html:
28         $(PYTHON) $(step-bindir)/text2html.py $(OUT_TXT_FILES)
29         $(footify) $(addprefix $(outdir)/, $(addsuffix .html, $(README_TOP_FILES)))