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