-# Texinfo_rules.make
.SUFFIXES: .html .info .texi .texinfo
# 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 $<
$(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 $@ $<