1 # special rules for the documentation section.
2 # There are too many to add to the general rules
4 .SUFFIXES: .pod .txt .1 .html
7 pod2groff=pod2man --center="LilyPond documentation" --section="0"\
8 --release="LilyPond $(VERSION)" $< > $@
10 $(outdir)/%.gif: %.xpm
11 xpmtoppm $< | ppmtogif > $@
13 $(outdir)/%.dvi: $(outdir)/%.mudtex
14 latex '\nonstopmode \input $<'
15 mv $(notdir $@) $(outdir)
17 $(outdir)/%.mudtex: %.doc
18 $(depth)/bin/out/mudela-book --outdir=$(outdir)/ --outname=$(notdir $@) $<
20 $(outdir)/%.txt: $(outdir)/%.1
21 troff -man -Tascii $< | grotty -b -u -o > $@
23 $(depth)/%.txt: $(outdir)/%.txt
28 POD2HTML5004=$(POD2HTML) --noindex --infile $< --outfile=$@; sh $(depth)/bin/add-URLs.sh $@
30 POD2HTML5003=$(POD2HTML) $< ; mv $(notdir $@) $(outdir)/
33 do_pod2html=$(POD2HTML5004)
36 $(outdir)/%.html: %.pod $(depth)/VERSION