lilypond-1.3.120
[lilypond.git] / Documentation / bibliography / GNUmakefile
blobb3fd5fc7a139e34b0ddbaa1216115249ec43a4ce
1 # Documentation/tex/Makefile
3 depth=../..
5 OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES))
6 BIB_FILES= $(wildcard *.bib)
7 EXTRA_DIST_FILES= $(BIB_FILES)
9 STEPMAKE_TEMPLATES=tex documentation
10 LOCALSTEPMAKE_TEMPLATES=lilypond ly
12 export BIBINPUTS:=$(shell pwd)//$(PATHSEP)$(BIBINPUTS)
13 include $(depth)/make/stepmake.make
15 dvi: $(DVI_FILES) $(OUT_BIB_FILES)
17 ps: $(PS_FILES)
19 # urg
20 default:
22 GENHTMLS = engraving colorado computer-notation
23 OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html))
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
30 $(outdir)/%.bib: %.bib
31 ln -f $< $@
32 # we want footers even if website builds (or is built) partly
33 $(MAKE) footify
35 $(outdir)/%.html: %.bib
36 -$(BIBTEX2HTML) $(BIBTEX2HTML_FLAGS)
37 $(footify) $@
39 localclean:
40 rm -f fonts.aux fonts.log feta*.tfm feta*.*pk