]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
5cf8c2d011b254f588a2369cfc685fd6f956ee84
[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 $(outdir)/%.pdf: $(outdir)/%.texi
24         cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) --batch $(TEXINFO_PAPERSIZE_OPTION) $(<F)
25
26 $(outdir)/%.txt: $(outdir)/%.texi
27         $(MAKEINFO) -I $(src-dir) -I $(outdir) --no-split --no-headers --output $@ $<
28
29 $(outdir)/%.texi: %.texi
30         rm -f $@
31         cp $< $@
32
33
34