]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
* stepmake/stepmake/omf-targets.make (omf-local-install): bugfixes
[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
13 $(outdir)/%.html.omf: $(outdir)/%.texi
14         $(GENERATE_OMF) --format html --location $(local_package_docdir)/$(current-relative-dir)/out-www/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
15 $(outdir)/%.pdf.omf: $(outdir)/%.texi
16         $(GENERATE_OMF) --format pdf --location $(local_package_docdir)/$(current-relative-dir)/out-www/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
17
18 $(outdir)/%.ps.gz.omf: $(outdir)/%.texi
19         $(GENERATE_OMF) --format ps.gz --location $(local_package_docdir)/$(current-relative-dir)/out-www/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
20
21 # Generic rule not possible?
22 $(outdir)/%/%.html: $(outdir)/%.texi
23         $(MAKEINFO) --output=$@ --html $<
24 # we want footers even if website builds (or is built) partly
25         $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html))
26
27 $(outdir)/%.dvi: $(outdir)/%.texi
28         cd $(outdir); texi2dvi --batch $(<F)
29
30 $(outdir)/%.txt: $(outdir)/%.texi
31         $(MAKEINFO) -I $(pwd) -I $(outdir) --no-split --no-headers --output $@ $<
32
33 $(outdir)/%.texi: %.texi
34         rm -f $@
35         cp $< $@
36         chmod -w $@
37
38
39