summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index c4e57ca63be..25c7865d4a1 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -804,10 +804,12 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln)
THEFILE=$< $<n
../native-lisp: | $(pdmp)
- 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)
+ 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); \
+ fi
endif
## VCSWITNESS points to the file that holds info about the current checkout.