]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
Merge branch 'master' of ssh+git://gpercival@git.sv.gnu.org/srv/git/lilypond
[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)/%-big-page.html: $(outdir)/%.texi
8         $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split -D bigpage --no-headers $<
9
10 $(outdir)/%.html: $(outdir)/%.texi
11         $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split --no-headers $<
12
13 $(outdir)/%.html.omf: %.texi
14         $(call GENERATE_OMF,html)
15
16 $(outdir)/%.pdf.omf: %.texi
17         $(call GENERATE_OMF,pdf)
18
19 $(outdir)/%.ps.gz.omf: %.texi
20         $(call GENERATE_OMF,ps.gz)
21
22 # Generic rule not possible?
23 $(outdir)/%/%.html: $(outdir)/%.texi
24         $(MAKEINFO) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html $<
25
26 $(outdir)/%.pdf: $(outdir)/%.texi
27         cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) --batch $(TEXINFO_PAPERSIZE_OPTION) $(<F)
28
29 $(outdir)/%.txt: $(outdir)/%.texi
30         $(MAKEINFO) -I $(src-dir) -I $(outdir) --no-split --no-headers --output $@ $<
31
32 $(outdir)/%.texi: %.texi
33         rm -f $@
34         cp $< $@
35
36
37