]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
* Documentation/user/music-glossary.tely: add @omf tags
[lilypond.git] / stepmake / stepmake / texinfo-rules.make
1
2 .SUFFIXES: .html .info .texi .texinfo
3
4 $(outdir)/%.info: $(outdir)/%.texi
5         $(MAKEINFO) -I $(outdir) --output=$@ $<
6
7 $(outdir)/%.html: $(outdir)/%.texi
8         $(MAKEINFO) -I $(outdir) --output=$@ --html --no-split --no-headers $<
9 # we want footers even if website builds (or is built) partly
10         $(footify) $@
11
12 $(outdir)/%.html.omf: $(outdir)/%.texi
13         $(GENERATE_OMF) --format html --location $(local_package_docdir)/$(current-relative-dir)/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
14 $(outdir)/%.pdf.omf: $(outdir)/%.texi
15         $(GENERATE_OMF) --format pdf --location $(local_package_docdir)/$(current-relative-dir)/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
16
17 $(outdir)/%.ps.gz.omf: $(outdir)/%.texi
18         $(GENERATE_OMF) --format ps.gz --location $(local_package_docdir)/$(current-relative-dir)/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
19
20 # Generic rule not possible?
21 $(outdir)/%/%.html: $(outdir)/%.texi
22         $(MAKEINFO) --output=$@ --html $<
23 # we want footers even if website builds (or is built) partly
24         $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html))
25
26 $(outdir)/%.dvi: $(outdir)/%.texi
27         cd $(outdir); texi2dvi --batch $(<F)
28
29 $(outdir)/%.txt: $(outdir)/%.texi
30         $(MAKEINFO) -I $(pwd) -I $(outdir) --no-split --no-headers --output $@ $<
31
32 $(outdir)/%.texi: %.texi
33         rm -f $@
34         cp $< $@
35         chmod -w $@
36
37
38