]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
874cc7fe30fb1b822f4b7ba6191cea126e5f6b7a
[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=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --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=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html $<
22
23
24 $(outdir)/%.dvi: $(outdir)/%.texi
25         cd $(outdir); texi2dvi --batch $(TEXINFO_PAPERSIZE_OPTION) $(<F)
26
27 $(outdir)/%.txt: $(outdir)/%.texi
28         $(MAKEINFO) -I $(src-dir) -I $(outdir) --no-split --no-headers --output $@ $<
29
30 $(outdir)/%.texi: %.texi
31         rm -f $@
32         cp $< $@
33
34
35