1 # Documentation/tex/Makefile
7 LATEX_FILES =$(wildcard *.latex)
11 DVI_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.dvi))
13 EXTRA_DIST_FILES= $(LATEX_FILES) $(wildcard *.itexi *.itely)
15 HTML_FILES = $(addprefix $(outdir)/, $(TELY_FILES:.tely=.html))
17 PS_FILES = $(DVI_FILES:.dvi=.ps) $(OUTDOC_FILES:.doc=.ps) $(OUTTEX_FILES:.tex=.ps)
19 PS_GZ_FILES= $(addsuffix .gz, $(PS_FILES))
21 INFO_FILES = $(addprefix $(outdir)/, lilypond.info lilypond-internals.info)
23 STEPMAKE_TEMPLATES=tex texinfo documentation
24 LOCALSTEPMAKE_TEMPLATES=lilypond mudela
26 include $(depth)/make/stepmake.make
36 local-WWW: $(HTML_FILES) $(datafiles) $(PS_GZ_FILES) backdoc-WWW
39 # $(PYTHON) $(step-bindir)/ls-latex.py --title 'User documentation' \
40 # $(DOC_FILES) $(TEX_FILES) $(TELY_FILES) \
41 # | sed "s!$(outdir)/!!g" > $(outdir)/index.html
43 $(outdir)/%.bib: %.bib
45 # we want footers even if website builds (or is built) partly
49 rm -f fonts.aux fonts.log feta*.tfm feta*.*pk
51 backdoc-WWW: $(outdir)/lilypond-internals.html
53 #ugh. lily/OUT/lilypond hardcoded.
54 # when cross-compiling, we don't have lilypond
55 $(outdir)/lilypond-internals.texi:
56 if [ -e $(depth)/$(builddir)/lily/out/lilypond ]; then \
57 cd $(outdir) && ../$(depth)/$(builddir)/lily/out/lilypond ../$(src-depth)/ly/generate-documentation; \