From 4d065ad8d31ede0183ca0c1b1ef677882afe6658 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 21:51:18 +0000 Subject: [PATCH] lilypond-1.2.5 --- stepmake/stepmake/texinfo-rules.make | 41 ++++++++++------------------ 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make index 3177c3bd83..ce726fe8c1 100644 --- a/stepmake/stepmake/texinfo-rules.make +++ b/stepmake/stepmake/texinfo-rules.make @@ -1,35 +1,22 @@ # Texinfo_rules.make -.SUFFIXES: .1 .html .texinfo +.SUFFIXES: .html .texinfo -texi2man = $(step-bindir)/out/texi2man $< $@ -texi2html =\ - rm -f $@.urg;\ - cat $< | sed "s!@include.*!!" > $@.urg;\ - $(TEXI2HTML) $@.urg;\ - rm -f $@.urg;\ - mv $(@F).urg.html $@;\ - rm -f $(@F:%.html=%.html.urg_toc.html);\ - add-URLs $@ +$(outdir)/%.info: $(outdir)/%.texi + makeinfo --output=$@ $< -$(outdir)/%.1: %.texinfo - $(texi2man) +$(outdir)/%.html: $(outdir)/%.texi + -makeinfo --force --output=$@ --html --no-headers $< + $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index=$(depth)/../index.html $@ $(wildcard $(basename $@)[0-9][0-9].html) -$(outdir)/%.info: $(outdir)/%.texinfo - $(MAKEINFO) --force -o $@ $< +$(outdir)/%.dvi: $(outdir)/%.texi +# --clean only in >= 3.12s +# cd $(outdir); texi2dvi --clean ../$< + cd $(outdir); texi2dvi ../$< -# $(outdir)/%.html: %.texinfo -# $(texi2html) -# add-html-footer --index $(depth)/../index.html $@ +$(outdir)/%.txt: $(outdir)/%.texi + $(MAKEINFO) --no-split --no-headers --output $@ $< -# texi2html is as broken as pod2html 5004 :-) -# we'll have to use pod2html 5003 for now. -# don't burn your .pod sources! -# -$(outdir)/%.html: $(outdir)/%.texinfo - $(texi2html) - $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) --index $(depth)/../index.html $@ - -$(outdir)/%.1: $(outdir)/%.texinfo - -$(texi2man) +$(outdir)/%.texi: %.texi + cp $< $@ -- 2.39.5