summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2009-08-23 04:43:12 +0000
committerKen Raeburn <raeburn@raeburn.org>2009-08-23 04:43:12 +0000
commitc8edcc0113a380c15388a1d5ef94b0218df46aad (patch)
treef511d6958e68ea31b106a7cd89fb8dfd8ea10b01 /src/Makefile.in
parent201a407332e00f12a53ea87aa107860c813c30c2 (diff)
downloademacs-c8edcc0113a380c15388a1d5ef94b0218df46aad.tar.gz
* Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
before invoking the newly build emacs to check for load-path shadowing.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 8ee2f6c4ff7..567bff9acea 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -908,13 +908,14 @@ emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} ${SOME_MACHINE_LISP}
#ifdef CANNOT_DUMP
rm -f emacs${EXEEXT}
ln temacs${EXEEXT} emacs${EXEEXT}
+ -EMACSLOADPATH=${lispsource} ./emacs -q -batch -f list-load-path-shadows
#else
LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump
@: This new Emacs is as functional and more efficient then
@: bootstrap-emacs, so let us replace it.
-ln -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
-#endif /* ! defined (CANNOT_DUMP) */
-./emacs -q -batch -f list-load-path-shadows
+#endif /* ! defined (CANNOT_DUMP) */
/* We run make-docfile twice because the command line may get too long
on some systems. */