X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Ftexinfo-rules.make;h=c37356207988e2de87157ad08f13d22a70e23872;hb=ece2e45d587f63565e81af44e1937ebe1f5e47a8;hp=42474ba6fc9255b6837b07f1659f64edf53a9244;hpb=d3c90f63573d53cfb191cc48f8f6ee672a5ca37a;p=lilypond.git diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make index 42474ba6fc..c373562079 100644 --- a/stepmake/stepmake/texinfo-rules.make +++ b/stepmake/stepmake/texinfo-rules.make @@ -1,24 +1,37 @@ -# Texinfo_rules.make .SUFFIXES: .html .info .texi .texinfo $(outdir)/%.info: $(outdir)/%.texi - makeinfo --output=$@ $< +# makeinfo MUST have PNGs in cwd for info images to work + $(MAKEINFO) -I$(outdir) --output=$@ $< -$(outdir)/%.html: $(outdir)/%.texi - -makeinfo --force --output=$@ --html --no-headers $< -# we want footers even if website builds (or is built) partly - $(footify) $@ +$(outdir)/%-big-page.html: $(outdir)/%.texi + $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split -D bigpage --no-headers $< -$(outdir)/%.dvi: $(outdir)/%.texi -# --clean only in >= 3.12s -# cd $(outdir); texi2dvi --clean ../$< - cd $(outdir); texi2dvi ../$< +$(outdir)/%.html: $(outdir)/%.texi + $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split --no-headers $< + +$(outdir)/%.html.omf: %.texi + $(call GENERATE_OMF,html) + +$(outdir)/%.pdf.omf: %.texi + $(call GENERATE_OMF,pdf) + +$(outdir)/%.ps.gz.omf: %.texi + $(call GENERATE_OMF,ps.gz) + +$(outdir)/%/index.html: $(outdir)/%.texi + mkdir -p $(dir $@) + $(MAKEINFO) -I $(outdir) --output=$(dir $@) --css-include=$(top-src-dir)/Documentation/texinfo.css --html $< + +$(outdir)/%.pdf: $(outdir)/%.texi + cd $(outdir); texi2pdf $(TEXI2PDF_FLAGS) --batch $(TEXINFO_PAPERSIZE_OPTION) $(