X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Ftexinfo-rules.make;h=874cc7fe30fb1b822f4b7ba6191cea126e5f6b7a;hb=078703a6ab29f75983a55ac2cc35fe5f315da574;hp=7b013a29e711630ac512c395723653f5782591cd;hpb=3a0e9efb7f067e5b334ba0596b95e15d96d7cc49;p=lilypond.git diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make index 7b013a29e7..874cc7fe30 100644 --- a/stepmake/stepmake/texinfo-rules.make +++ b/stepmake/stepmake/texinfo-rules.make @@ -1,22 +1,35 @@ -# Texinfo_rules.make .SUFFIXES: .html .info .texi .texinfo $(outdir)/%.info: $(outdir)/%.texi - makeinfo --output=$@ $< + $(MAKEINFO) -I $(outdir) --output=$@ $< -$(outdir)/%.html: $(outdir)/%.texi - -makeinfo --force --output=$@ --html --no-headers $< +$(outdir)/%.html: $(outdir)/%.texi + $(MAKEINFO) -I $(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split --no-headers $< -$(outdir)/%.dvi: $(outdir)/%.texi -# --clean only in >= 3.12s -# cd $(outdir); texi2dvi --clean ../$< - cd $(outdir); texi2dvi ../$< +$(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) + +# Generic rule not possible? +$(outdir)/%/%.html: $(outdir)/%.texi + $(MAKEINFO) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html $< + + +$(outdir)/%.dvi: $(outdir)/%.texi + cd $(outdir); texi2dvi --batch $(TEXINFO_PAPERSIZE_OPTION) $(