]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/essay/GNUmakefile
068109cdcfb59bd4f9fedd5a3ab145c4c827938a
[lilypond.git] / Documentation / essay / GNUmakefile
1 depth = ../..
2
3 STEPMAKE_TEMPLATES=tex documentation
4 LOCALSTEPMAKE_TEMPLATES = lilypond ly
5
6 OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES))
7 EXTRA_DIST_FILES= $(BIB_FILES) $(call src-wildcard,*.bst) 
8 BIB_FILES= $(call src-wildcard,*.bib)
9
10 include $(depth)/make/stepmake.make
11
12 # we no longer create bibliography files in this subdir,
13 # since it needs to be done in the main Documentation/ dir.
14 # all the below can _probably_ be removed, but I haven't
15 # examined it in detail.
16 # I think this is just going to wait until we switch to waf.  -gp
17 dvi: $(DVI_FILES) $(OUT_BIB_FILES)
18
19 ps: $(PS_FILES)
20
21 default:
22
23 GENHTMLS = engraving colorado computer-notation
24 OUTGENHTMLS = $(addprefix $(outdir)/, $(GENHTMLS:%=%.html))
25
26 ifeq ($(out),www)
27 #   temporary build fix; we don't know yet what's happening
28 #   to the literature index.  -gp
29 # local-WWW-2: $(addprefix $(outdir)/, $(BIB_FILES:.bib=.html) lit-index.html)
30 endif
31
32 $(outdir)/%.bib: %.bib
33         ln -f $< $@
34
35 $(outdir)/%.html: %.bib
36         BSTINPUTS=$(src-dir) $(buildscript-dir)/bib2html -o $@ $<
37
38 local-clean:
39         rm -f fonts.aux fonts.log feta*.tfm feta*.*pk
40