]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/bibliography/GNUmakefile
ca0c7ae4a4beeb41bec90cf85921cccb09351d81
[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
33 # ignore result since bib2html is nonstandard. Errors would halt the RPM build.j  
34 $(outdir)/%.html: %.bib
35         -bib2html $< $@
36 #       $(footify) $@
37
38 localclean:
39         rm -f fonts.aux fonts.log feta*.tfm feta*.*pk