]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
48a6f7e9000599800be7eb2b6d78a715b88722a8
[lilypond.git] / stepmake / stepmake / texinfo-rules.make
1
2 .SUFFIXES: .html .info .texi .texinfo
3
4 $(outdir)/%.info: $(outdir)/%.texi
5 # makeinfo MUST have PNGs in cwd for info images to work
6         cd $(outdir) && $(MAKEINFO) -I$(srcdir) --output=$(@F) $(<F)
7
8 $(outdir)/%-big-page.html: $(outdir)/%.texi
9         $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split -D bigpage --no-headers $<
10
11 $(outdir)/%.html: $(outdir)/%.texi
12         $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split --no-headers $<
13
14 $(outdir)/%.html.omf: %.texi
15         $(call GENERATE_OMF,html)
16
17 $(outdir)/%.pdf.omf: %.texi
18         $(call GENERATE_OMF,pdf)
19
20 $(outdir)/%.ps.gz.omf: %.texi
21         $(call GENERATE_OMF,ps.gz)
22
23 # Generic rule not possible?
24 $(outdir)/%/%.html: $(outdir)/%.texi
25         $(MAKEINFO) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html $<
26
27 $(outdir)/%.pdf: $(outdir)/%.texi
28         cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) --batch $(TEXINFO_PAPERSIZE_OPTION) $(<F)
29
30 $(outdir)/%.txt: $(outdir)/%.texi
31         $(MAKEINFO) -I $(src-dir) -I $(outdir) --no-split --no-headers --output $@ $<
32
33 $(outdir)/%.texi: %.texi
34         rm -f $@
35         cp $< $@
36
37
38