]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/texinfo-rules.make
* Documentation/topdocs/NEWS.texi (Top): rewrite NEWS in texinfo.
[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) -I $(outdir) --output=$@ --html --no-split --no-headers $<
22         $(MAKEINFO) --output=$@ --html $<
23
24
25 $(outdir)/%.dvi: $(outdir)/%.texi
26         cd $(outdir); texi2dvi --batch $(TEXINFO_PAPERSIZE_OPTION) $(<F)
27
28 $(outdir)/%.txt: $(outdir)/%.texi
29         $(MAKEINFO) -I $(pwd) -I $(outdir) --no-split --no-headers --output $@ $<
30
31 $(outdir)/%.texi: %.texi
32         rm -f $@
33         cp $< $@
34         chmod -w $@
35
36
37