]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
patch::: 1.5.9.jcn3
[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 # Generic rule not possible?
13 $(outdir)/%/%.html: $(outdir)/%.texi
14         $(MAKEINFO) --output=$@ --html $<
15 # we want footers even if website builds (or is built) partly
16         $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html))
17
18 $(outdir)/%.dvi: $(outdir)/%.texi
19         cd $(outdir); texi2dvi --batch $(<F)
20
21 $(outdir)/%.txt: $(outdir)/%.texi
22         $(MAKEINFO) -I $(pwd) -I $(outdir) --no-split --no-headers --output $@ $<
23
24 $(outdir)/%.texi: %.texi
25         rm -f $@
26         cp $< $@
27         chmod -w $@
28
29
30