.SUFFIXES: .pod .txt .1 .html
+pod2html=pod2html
+pod2groff=pod2man --center="LilyPond documentation" --section="0"\
+ --release="LilyPond $(VERSION)" $< > $@
$(outdir)/%.gif: %.xpm
xpmtoppm $< | ppmtogif > $@
mv $(notdir $@) $(outdir)
$(outdir)/%.mudtex: %.doc
- $(binout)/mudela-book --outdir=$(outdir)/ --outname=$(notdir $@) $<
+ $(depth)/bin/out/mudela-book --noindex --outdir=$(outdir)/ --outname=$(notdir $@) $<
$(outdir)/%.txt: $(outdir)/%.1
troff -man -Tascii $< | grotty -b -u -o > $@
$(depth)/%.txt: $(outdir)/%.txt
cp $< $@
-do_pod2html=$(pod2html) $<
+# perl 5.003/4
+
+POD2HTML5004=$(POD2HTML) --noindex --infile $< --outfile=$@; sh $(depth)/bin/add-URLs.sh $@
+
+POD2HTML5003=$(POD2HTML) $< ; mv $(notdir $@) $(outdir)/
+
+
+do_pod2html=$(POD2HTML5003)
+
-# do this for perl 5.004
-# $ make do_pod2html='$(pod2html) --infile $< --outfile=$@' html
-#
$(outdir)/%.html: %.pod $(depth)/VERSION
$(do_pod2html)
- mv $(notdir $@) $(outdir)/
$(outdir)/%.5: %.pod
$(pod2groff)
gzip -c9 $< > $@
name-stem= $(notdir $(basename $<))
-$(outdir)/%.dvi: $(depth)/input/%.ly $(depth)/VERSION
- (cd $(outdir); \
- lilypond -I/ ../$< )
- (cd $(outdir); \
- if [ -f ../$(basename $< ).tex ]; \
- then \
- latex ../$(basename $< ) ;\
- else \
- tex $(name-stem) ;\
- fi)
-
-
$(outdir)/%.gif: $(outdir)/%.ps
sh $(depth)/bin/ps-to-gifs.sh $<