]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
* buildscripts/new-chords.py (help): add help text
[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: %.texi
13         $(call GENERATE_OMF,html)
14
15 $(outdir)/%.pdf.omf: %.texi
16         $(call GENERATE_OMF,pdf)
17
18 $(outdir)/%.ps.gz.omf: %.texi
19         $(call GENERATE_OMF,ps.gz) 
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 $(TEXINFO_PAPERSIZE_OPTION) $(<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