.SUFFIXES: .html .info .texi .texinfo
$(outdir)/%.info: $(outdir)/%.texi
$(MAKEINFO) -I $(outdir) --output=$@ $<
$(outdir)/%.html: $(outdir)/%.texi
$(MAKEINFO) -I $(outdir) --output=$@ --html --no-split --no-headers $<
# 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 $<
# we want footers even if website builds (or is built) partly
$(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html))
$(outdir)/%.dvi: $(outdir)/%.texi
cd $(outdir); texi2dvi --batch $(