From 398139397a5cfbfd1c306ccb9ccefc975ada4726 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 9 Aug 1998 16:21:39 +0000 Subject: [PATCH] lilypond-1.0.4 --- stepmake/stepmake/pod-rules.make | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 stepmake/stepmake/pod-rules.make diff --git a/stepmake/stepmake/pod-rules.make b/stepmake/stepmake/pod-rules.make new file mode 100644 index 0000000000..dd5b7ccd3d --- /dev/null +++ b/stepmake/stepmake/pod-rules.make @@ -0,0 +1,32 @@ +# Pod_rules.make + +.SUFFIXES: .1 .5 .html .pod .txt + +pod2html=pod2html +pod2groff=pod2man --center="$(PACKAGE_NAME) documentation" --section="0"\ + --release="$(PACKAGE_NAME) $(VERSION)" $< > $@ + + +# perl 5.003/4 +POD2HTML_5003=$(POD2HTML) $< ; mv $(notdir $@) $(outdir)/ || true +# urg, broken. if you must have perl 5004, better install pod2html from 5003 +POD2HTML_5004=$(POD2HTML) --noindex --infile $< --outfile=$@; sh $(depth)/bin/add-URLs.sh $@ + +do_pod2html=$($(POD2HTML_VERSION)) + +$(outdir)/%.html: $(outdir)/%.pod $(depth)/VERSION + $(do_pod2html) + $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index $(depth)/../index.html $@ + +$(outdir)/%.pod: %.pod + cp $< $@ + +$(outdir)/%.5: %.pod + $(pod2groff) + +$(outdir)/%.1: %.pod + $(pod2groff) + +$(outdir)/%.1: $(outdir)/%.pod + -$(pod2groff) + -- 2.39.5