-# special rules for the documentation section.
-# There are too many to add to the general rules
-
-.SUFFIXES: .pod .1 $(DOTTEXT) .html
-
-pod2html=pod2html
-pod2groff=pod2man --center="LilyPond documentation" --section="0"\
- --release="LilyPond $(VERSION)" $< > $@
-
-$(outdir)/%.gif: %.xpm
- xpmtoppm $< | ppmtogif > $@
-
-$(outdir)/%.dvi: $(outdir)/%.mudtex
- latex '\nonstopmode \input $<'
- mv $(notdir $@) $(outdir)
-
-$(outdir)/%.mudtex: %.doc
- $(depth)/bin/out/mudela-book --outdir=$(outdir)/ --outname=$(notdir $@) $<
-
-$(outdir)/%$(DOTTEXT): $(outdir)/%.1
- troff -man -Tascii $< | grotty -b -u -o > $@
-
-# perl 5.003/4
-POD2HTML5004=$(POD2HTML) --noindex --infile $< --outfile=$@; sh $(depth)/bin/add-URLs.sh $@
-
-POD2HTML5003=$(POD2HTML) $< ; mv $(notdir $@) $(outdir)/
-
-# we'll set pod2html5004 to default (hopefully), for now,
-# because almost everybody has that version.
-# 5004's pod2hmtl is broken, though; you should use pod2html of 5003
-do_pod2html=$(POD2HTML5004)
-# do_pod2html=$(POD2HTML5003)
-
-$(outdir)/%.html: %.pod $(depth)/VERSION
- $(do_pod2html)
- add-html-footer $@
-
-$(outdir)/%.html: %.data $(depth)/VERSION
- table-to-html $< $@
- add-html-footer $@
-
-$(outdir)/%.5: %.pod
- $(pod2groff)
-
-$(outdir)/%.1: %.pod
- $(pod2groff)
+# Docrules.make
+include $(make-dir)/Mudela_rules.make