]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/bibliography/GNUmakefile
patch::: 1.3.45.jcn1
[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)
8
9 STEPMAKE_TEMPLATES=tex documentation
10 LOCALSTEPMAKE_TEMPLATES=lilypond mudela
11
12 export BIBINPUTS:=$(shell pwd)//$(PATHSEP)$(BIBINPUTS)
13 include $(depth)/make/stepmake.make 
14
15 dvi: $(DVI_FILES) $(OUT_BIB_FILES)
16
17 ps: $(PS_FILES)
18
19 # urg
20 default:
21
22 GENHTMLS = engraving colorado  computer-notation
23 OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html))
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 # we want footers even if website builds (or is built) partly
33         $(MAKE) footify
34
35
36 # ignore result since bib2html is nonstandard. Errors would halt the RPM build.j  
37 $(outdir)/%.html: %.bib
38         -bib2html $< $@
39         $(footify) $@
40
41 localclean:
42         rm -f fonts.aux fonts.log feta*.tfm feta*.*pk