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 --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) $<
29 # do this for perl 5.004
30 # $ make do_pod2html='$(pod2html) --infile $< --outfile=$@' html
32 $(outdir)/%.html: %.pod $(depth)/VERSION
34 mv $(notdir $@) $(outdir)/
42 $(outdir)/%.gz: $(outdir)/%
45 name-stem= $(notdir $(basename $<))
46 $(outdir)/%.dvi: $(depth)/input/%.ly $(depth)/VERSION
50 if [ -f ../$(basename $< ).tex ]; \
52 latex ../$(basename $< ) ;\
59 $(outdir)/%.gif: $(outdir)/%.ps
60 sh $(depth)/bin/ps-to-gifs.sh $<
61 mv $(name-stem)-page*.gif $(outdir)/
64 $(outdir)/%.ly.txt: $(depth)/input/%.ly