1 # special rules for the documentation section.
2 # There are too many to add to the general rules
4 .SUFFIXES: .pod .text .1 .html
8 giftopnm $< | ppmtoxpm > $@
10 $(outdir)/%.ps: $(outdir)/%.dvi
13 $(outdir)/%.dvi: $(outdir)/%.mudtex
14 latex '\nonstopmode \input $<'
15 mv $(notdir $@) $(outdir)
17 $(outdir)/%.mudtex: %.doc
18 $(binout)/mudela-book --outdir=$(outdir)/ --outname=$(notdir $@) $<
20 $(outdir)/%.text: $(outdir)/%.1
21 groff -man -Tascii $< > $@
23 $(depth)/%.text: $(outdir)/%.text
26 $(outdir)/%.html: %.pod
28 mv $(notdir $@) $(outdir)/
36 $(outdir)/%.gz: $(outdir)/%
39 $(outdir)/%.dvi: $(depth)/input/%.ly
40 (cd $(outdir); lilypond ../$< ;\
41 if [ -f ../$(basename $< ).tex ]; \
43 latex ../$(basename $< ) ;\
45 tex '\nonstopmode \input lelie' ;\
46 mv lelie.dvi ../$@ ; \
49 # generate the pixmap at twice the size, then rescale (for antialiasing)
50 $(outdir)/%.gif: $(outdir)/%.ps
51 gs -q -sDEVICE=ppmraw -sOutputFile=- -r200 -dNOPAUSE $< -c quit |pnmscale 0.5| ppmtogif > $@
53 $(outdir)/%.ly.txt: $(depth)/input/%.ly