emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 4831426: Fix recipe for 'native-lisp' directory


From: Eli Zaretskii
Subject: emacs-28 4831426: Fix recipe for 'native-lisp' directory
Date: Sun, 3 Oct 2021 15:36:46 -0400 (EDT)

branch: emacs-28
commit 483142615864e990b2ec45e61681d7ab44096335
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix recipe for 'native-lisp' directory
    
    * src/Makefile.in (../native-lisp): If the directory native-lisp
    exists, do nothing.
---
 src/Makefile.in | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index c4e57ca..25c7865 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]