Am looking at Makefile.in for "Introduction to Emacs Lisp" called eintr, to see how one would specify options for html output.
One can get the code from https://ftp.gnu.org/gnu/emacs/ The makefile is found /emacs-30.2/doc/lispintro There is HTML_OPTS, which is set to --no-split --html What if the user wants to use --split=node --transliterate-file-names --node-files How would one call the makefile? SHELL = @SHELL@ srcdir = @srcdir@ top_builddir = @top_builddir@ buildinfodir = $(srcdir)/../../info # Directory with the (customized) texinfo.tex file. texinfodir = $(srcdir)/../misc # Directory with docstyle.texi and emacsver.texi. emacsdir = $(srcdir)/../emacs prefix = @prefix@ datarootdir = @datarootdir@ datadir = @datadir@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ docdir = @docdir@ dvidir = @dvidir@ htmldir = @htmldir@ pdfdir = @pdfdir@ psdir = @psdir@ MKDIR_P = @MKDIR_P@ GZIP_PROG = @GZIP_PROG@ HTML_OPTS = --no-split --html # Options used only when making info output. INFO_OPTS= --no-split INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MAKEINFO = @MAKEINFO@ MAKEINFO_OPTS = --force -I $(emacsdir) -I $(srcdir) TEXI2DVI = texi2dvi TEXI2PDF = texi2pdf DVIPS = dvips -include ${top_builddir}/src/verbose.mk ENVADD = \ $(AM_V_GEN)TEXINPUTS="$(srcdir):$(texinfodir):$(emacsdir):$(TEXINPUTS)" \ MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)" DVI_TARGETS = emacs-lisp-intro.dvi HTML_TARGETS = eintr.html PDF_TARGETS = emacs-lisp-intro.pdf PS_TARGETS = emacs-lisp-intro.ps srcs = ${srcdir}/emacs-lisp-intro.texi ${srcdir}/doclicense.texi \ ${emacsdir}/docstyle.texi ${emacsdir}/emacsver.texi ## Disable implicit rules. %.texi: ; .PHONY: info dvi html pdf ps info: ${buildinfodir}/eintr.info dvi: $(DVI_TARGETS) html: $(HTML_TARGETS) pdf: $(PDF_TARGETS) ps: $(PS_TARGETS) ${buildinfodir}: ${MKDIR_P} $@ # The file name eintr must fit within 5 characters, to allow for # -NN extensions to fit into DOS 8+3 limits without clashing. ${buildinfodir}/eintr.info: ${srcs} | ${buildinfodir} $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $< eintr.html: ${srcs} $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ $<
