summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 25c7865d4a1..759572f85eb 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -807,8 +807,9 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln)
if test ! -d $@; then \
mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \
LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \
- --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR); \
- cp -f $@ $(bootstrap_pdmp); \
+ --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \
+ && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \
+ && cp -f $(pdmp) $(bootstrap_pdmp); \
fi
endif