]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/bibliography/GNUmakefile
af96676e1b8315712be92ce0c94bd9f64dd6794f
[lilypond.git] / Documentation / bibliography / GNUmakefile
1 # Documentation/tex/Makefile
2
3 depth=../..
4
5 OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES))
6 BIB_FILES= $(wildcard *.bib)
7 EXTRA_DIST_FILES= $(BIB_FILES) $(wildcard *.bst)
8
9 STEPMAKE_TEMPLATES=tex documentation
10 LOCALSTEPMAKE_TEMPLATES=lilypond ly
11
12 include $(depth)/make/stepmake.make 
13
14 dvi: $(DVI_FILES) $(OUT_BIB_FILES)
15
16 ps: $(PS_FILES)
17
18 # urg
19 default:
20
21 GENHTMLS = engraving colorado  computer-notation
22 OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html))
23
24
25 local-WWW: $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html))
26         $(PYTHON) $(step-bindir)/ls-latex.py  --title 'References on Music Notation' \
27           $(YO_FILES) $(OUTYO_FILES:.yo=.latex) $(BIB_FILES) $(DOC_FILES) $(TEX_FILES) \
28           | sed "s!$(outdir)/!!g" > $(outdir)/index.html
29
30 $(outdir)/%.bib: %.bib
31         ln -f $< $@
32
33 $(outdir)/%.html: %.bib
34         $(PYTHON) $(depth)/buildscripts/bib2html.py -o $@ $<
35
36 local-clean:
37         rm -f fonts.aux fonts.log feta*.tfm feta*.*pk