]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
* Documentation/header.html.in (src): tweaks.
[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
10 $(outdir)/%.html.omf: %.texi
11         $(call GENERATE_OMF,html)
12
13 $(outdir)/%.pdf.omf: %.texi
14         $(call GENERATE_OMF,pdf)
15
16 $(outdir)/%.ps.gz.omf: %.texi
17         $(call GENERATE_OMF,ps.gz) 
18
19 # Generic rule not possible?
20 $(outdir)/%/%.html: $(outdir)/%.texi
21         $(MAKEINFO) --output=$@ --html $<
22
23 $(outdir)/%.dvi: $(outdir)/%.texi
24         cd $(outdir); texi2dvi --batch $(TEXINFO_PAPERSIZE_OPTION) $(<F)
25
26 $(outdir)/%.txt: $(outdir)/%.texi
27         $(MAKEINFO) -I $(pwd) -I $(outdir) --no-split --no-headers --output $@ $<
28
29 $(outdir)/%.texi: %.texi
30         rm -f $@
31         cp $< $@
32         chmod -w $@
33
34
35