]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/texinfo-rules.make
* buildscripts/new-chords.py (help): add help text
[lilypond.git] / stepmake / stepmake / texinfo-rules.make
index f010dda87bf61784f96834d6a77e0a1ec4492cc4..9baf80dba1440ae5524e680e5e30248ee68980e7 100644 (file)
@@ -1,4 +1,3 @@
-# Texinfo_rules.make
 
 .SUFFIXES: .html .info .texi .texinfo
 
@@ -10,6 +9,15 @@ $(outdir)/%.html: $(outdir)/%.texi
 # we want footers even if website builds (or is built) partly
        $(footify) $@
 
+$(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=$@ --html $<
@@ -17,7 +25,7 @@ $(outdir)/%/%.html: $(outdir)/%.texi
        $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html))
 
 $(outdir)/%.dvi: $(outdir)/%.texi
-       cd $(outdir); texi2dvi --batch $(<F)
+       cd $(outdir); texi2dvi --batch $(TEXINFO_PAPERSIZE_OPTION) $(<F)
 
 $(outdir)/%.txt: $(outdir)/%.texi
        $(MAKEINFO) -I $(pwd) -I $(outdir) --no-split --no-headers --output $@ $<