summaryrefslogtreecommitdiff
path: root/doc/misc/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2022-01-12 09:35:43 -0800
committerGlenn Morris <rgm@gnu.org>2022-01-12 09:35:43 -0800
commit745580a36dc284d322a8d266ed39f80af3231d51 (patch)
tree04ce8828f5d721cfa7f49cc019fd95df67988df8 /doc/misc/Makefile.in
parentdb745f37aec2adc44ec4b2eae0720e0365ed0ca9 (diff)
downloademacs-745580a36dc284d322a8d266ed39f80af3231d51.tar.gz
Avoid user environment interfering with bootstrap
* Makefile.in, admin/unidata/Makefile.in: * doc/misc/Makefile.in, lib-src/Makefile.in: Don't export user environment variables that can affect running emacs. (Bug#53038)
Diffstat (limited to 'doc/misc/Makefile.in')
-rw-r--r--doc/misc/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 6c1e9cbc910..d348dbc194b 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -234,6 +234,10 @@ ${buildinfodir}/tramp.info tramp.html: ${srcdir}/trampver.texi
abs_top_builddir = @abs_top_builddir@
+
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH
+
EMACS = ${abs_top_builddir}/src/emacs
emacs = "${EMACS}" -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)'