]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/GNUmakefile
pdf
[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 LILYPOND_BOOK_FLAGS=--extra-options '-e "(set-lily-option (quote internal-type-checking) \#t)"'
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 PS_FILES=$(outdir)/regression-test.ps
20 PDF_FILES=$(PS_FILES:.ps=.pdf)
21 PS_GZ_FILES=$(addsuffix  .gz, $(PS_FILES))
22
23 local-WWW: copy-for-me txt-to-html $(PS_GZ_FILES) $(PDF_FILES) $(outdir)/regression-test.html footify
24
25 copy-for-me:
26         $(foreach a, $(README_TOP_FILES), cp ../$(a) $(outdir)/$(a).txt && ) true
27
28 OUT_TXT_FILES = $(addprefix $(outdir)/, $(addsuffix .txt, $(README_TOP_FILES)))
29
30 # cd $(outdir) rule gets bit hairy for --srcdir configure builds
31 txt-to-html:
32         $(PYTHON) $(step-bindir)/text2html.py $(OUT_TXT_FILES)
33         $(footify) $(addprefix $(outdir)/, $(addsuffix .html, $(README_TOP_FILES)))