Fix recipe for 'native-lisp' directory

* src/Makefile.in (../native-lisp): If the directory native-lisp
exists, do nothing.
This commit is contained in:
Eli Zaretskii 2021-10-03 22:35:04 +03:00
parent 0bb42ef803
commit 4831426158

View file

@ -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.