1 # special rules for the documentation section.
2 # There are too many to add to the general rules
4 .SUFFIXES: .pod .txt .1 .html
8 xpmtoppm $< | ppmtogif > $@
11 $(outdir)/%.ps: $(outdir)/%.dvi
14 $(outdir)/%.dvi: $(outdir)/%.mudtex
15 latex '\nonstopmode \input $<'
16 mv $(notdir $@) $(outdir)
18 $(outdir)/%.mudtex: %.doc
19 $(binout)/mudela-book --noindex --outdir=$(outdir)/ --outname=$(notdir $@) $<
21 $(outdir)/%.txt: $(outdir)/%.1
22 troff -man -Tascii $< | grotty -b -u -o > $@
24 $(depth)/%.txt: $(outdir)/%.txt
27 do_pod2html=$(pod2html) --noindex --infile $< --outfile=$@; sh $(depth)/bin/add-URLs.sh $@
28 # do this for perl 5.003
29 # do_pod2html=$(pod2html) $<
30 # mv $(notdir $@) $(outdir)/
33 # do this for perl 5.004
34 # $ make do_pod2html='$(pod2html) --infile $< --outfile=$@' html
37 $(outdir)/%.html: %.pod $(depth)/VERSION
47 $(outdir)/%.gz: $(outdir)/%
50 name-stem= $(notdir $(basename $<))
52 $(outdir)/%.gif: $(outdir)/%.ps
53 sh $(depth)/bin/ps-to-gifs.sh $<
54 mv $(name-stem)-page*.gif $(outdir)/
57 $(outdir)/%.ly.txt: $(depth)/input/%.ly