Setting HTML_OPTS in Emacs eintr Makefile.in

Heime <[email protected]> Tue, 23 Jun 2026 20:42:27 +0000
Newsgroups gmane.comp.gnu.make.general
Message-ID <xczMPYaKdTaL0FDhkv5YCAOvemxoHs_r2JKOCnVA0LSwvAP4weW_ve98Dsn7TS9nnw5T0EH3Xfnkpl9ipzRhrwf2dCd21Wi5cKAmtVCR6-4=@protonmail.com>
Am looking at Makefile.in for "Introduction to Emacs Lisp" called=20
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=20

--split=3Dnode --transliterate-file-names --node-files

How would one call the makefile?


SHELL =3D @SHELL@

srcdir =3D @srcdir@
top_builddir =3D @top_builddir@

buildinfodir =3D $(srcdir)/../../info
# Directory with the (customized) texinfo.tex file.
texinfodir =3D $(srcdir)/../misc
# Directory with docstyle.texi and emacsver.texi.
emacsdir =3D  $(srcdir)/../emacs

prefix =3D @prefix@
datarootdir =3D @datarootdir@
datadir =3D @datadir@
PACKAGE_TARNAME =3D @PACKAGE_TARNAME@
docdir =3D @docdir@
dvidir =3D @dvidir@
htmldir =3D @htmldir@
pdfdir =3D @pdfdir@
psdir =3D @psdir@

MKDIR_P =3D @MKDIR_P@

GZIP_PROG =3D @GZIP_PROG@

HTML_OPTS =3D --no-split --html

# Options used only when making info output.
INFO_OPTS=3D --no-split

INSTALL =3D @INSTALL@
INSTALL_DATA =3D @INSTALL_DATA@

MAKEINFO =3D @MAKEINFO@
MAKEINFO_OPTS =3D --force -I $(emacsdir) -I $(srcdir)
TEXI2DVI =3D texi2dvi
TEXI2PDF =3D texi2pdf
DVIPS =3D dvips

-include ${top_builddir}/src/verbose.mk

ENVADD =3D \
  $(AM_V_GEN)TEXINPUTS=3D"$(srcdir):$(texinfodir):$(emacsdir):$(TEXINPUTS)"=
 \
  MAKEINFO=3D"$(MAKEINFO) $(MAKEINFO_OPTS)"

DVI_TARGETS =3D emacs-lisp-intro.dvi
HTML_TARGETS =3D eintr.html
PDF_TARGETS =3D emacs-lisp-intro.pdf
PS_TARGETS =3D emacs-lisp-intro.ps

srcs =3D ${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}:
=09${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}
=09$(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $<

eintr.html: ${srcs}
=09$(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ $<