summaryrefslogtreecommitdiff
path: root/leim/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-11-03 11:25:29 -0800
committerGlenn Morris <rgm@gnu.org>2013-11-03 11:25:29 -0800
commit62942f895f177dea7ada3f1fbccbaa9ad814ae38 (patch)
tree567b7c3bbaf4e639391d918676884a0f7dbebc25 /leim/Makefile.in
parentfca2fccbea4f4b53da3f5110781439e98ae5a2eb (diff)
downloademacs-62942f895f177dea7ada3f1fbccbaa9ad814ae38.tar.gz
Unset EMACSLOADPATH in some Makefiles rather than setting it to the default
* leim/Makefile.in (abs_srcdir): Remove. (RUN_EMACS): Unset EMACSLOADPATH. * lisp/Makefile.in (abs_srcdir): Remove. (emacs): Unset EMACSLOADPATH.
Diffstat (limited to 'leim/Makefile.in')
-rw-r--r--leim/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/leim/Makefile.in b/leim/Makefile.in
index 35111ae0229..c1a79a75d04 100644
--- a/leim/Makefile.in
+++ b/leim/Makefile.in
@@ -25,15 +25,15 @@ SHELL = @SHELL@
# Here are the things that we expect ../configure to edit.
srcdir=@srcdir@
-abs_srcdir=@abs_srcdir@
# Which Emacs to use to convert TIT files to Emacs Lisp files,
# byte-compile Emacs Lisp files, and generate the file leim-list.el.
EMACS = ../src/emacs
# How to run Emacs.
-RUN_EMACS = EMACSLOADPATH="${abs_srcdir}/../lisp" LC_ALL=C \
- "${EMACS}" -batch --no-site-file --no-site-lisp
+# Prevent any setting of EMACSLOADPATH in user environment causing problems.
+RUN_EMACS = unset EMACSLOADPATH; LC_ALL=C "${EMACS}" -batch \
+ --no-site-file --no-site-lisp
MKDIR_P = @MKDIR_P@