]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/bibliography/GNUmakefile
Update documentation targets
[lilypond.git] / Documentation / bibliography / GNUmakefile
1 # Documentation/bibliography/Makefile
2
3 depth=../..
4
5 OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES))
6 EXTRA_DIST_FILES= $(BIB_FILES) $(call src-wildcard,*.bst) 
7 BIB_FILES= $(call src-wildcard,*.bib)
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 default:
19
20 GENHTMLS = engraving colorado computer-notation
21 OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html))
22
23 ifeq ($(out),www)
24 local-WWW-2: $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html) index.html)
25 endif
26
27 $(outdir)/%.bib: %.bib
28         ln -f $< $@
29
30 $(outdir)/%.html: %.bib
31         BSTINPUTS=$(src-dir) $(buildscript-dir)/bib2html -o $@ $<
32
33 local-clean:
34         rm -f fonts.aux fonts.log feta*.tfm feta*.*pk