X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=stepmake%2Fstepmake%2Ftexinfo-rules.make;h=c37356207988e2de87157ad08f13d22a70e23872;hb=ece2e45d587f63565e81af44e1937ebe1f5e47a8;hp=874cc7fe30fb1b822f4b7ba6191cea126e5f6b7a;hpb=078703a6ab29f75983a55ac2cc35fe5f315da574;p=lilypond.git diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make index 874cc7fe30..c373562079 100644 --- a/stepmake/stepmake/texinfo-rules.make +++ b/stepmake/stepmake/texinfo-rules.make @@ -2,7 +2,11 @@ .SUFFIXES: .html .info .texi .texinfo $(outdir)/%.info: $(outdir)/%.texi - $(MAKEINFO) -I $(outdir) --output=$@ $< +# makeinfo MUST have PNGs in cwd for info images to work + $(MAKEINFO) -I$(outdir) --output=$@ $< + +$(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)/%.html: $(outdir)/%.texi $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split --no-headers $< @@ -14,15 +18,14 @@ $(outdir)/%.pdf.omf: %.texi $(call GENERATE_OMF,pdf) $(outdir)/%.ps.gz.omf: %.texi - $(call GENERATE_OMF,ps.gz) - -# Generic rule not possible? -$(outdir)/%/%.html: $(outdir)/%.texi - $(MAKEINFO) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html $< + $(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)/%.dvi: $(outdir)/%.texi - cd $(outdir); texi2dvi --batch $(TEXINFO_PAPERSIZE_OPTION) $(