]> code.delx.au - gnu-emacs/blobdiff - leim/Makefile.in
Avoid EMACSDATA in user environment interfering with building
[gnu-emacs] / leim / Makefile.in
index b1b368883600a3c8a2dd23018cc83a38132d66ef..293b052aeb3e526f539a03fb984183eae38e4f18 100644 (file)
@@ -29,13 +29,16 @@ srcdir=@srcdir@
 # Where the generated files go.
 leimdir = ${srcdir}/../lisp/leim
 
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSPATH
+
 # Which Emacs to use to convert TIT files to Emacs Lisp files,
 # and generate the file leim-list.el.
 EMACS = ../src/emacs
 
 # How to run Emacs.
-RUN_EMACS = EMACSLOADPATH='$(srcdir)/../lisp' '$(EMACS)' \
-  -batch --no-site-file --no-site-lisp
+# Prevent any setting of EMACSLOADPATH in user environment causing problems.
+RUN_EMACS = EMACSLOADPATH= '$(EMACS)' -batch --no-site-file --no-site-lisp
 
 MKDIR_P = @MKDIR_P@