diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-10-03 22:35:04 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-10-03 22:35:04 +0300 |
commit | 483142615864e990b2ec45e61681d7ab44096335 (patch) | |
tree | 56d78d3013035d4f157ea1207de3928afc838a09 /src/Makefile.in | |
parent | 0bb42ef80357c86ea7dd6a2bccaff111bc83b65d (diff) | |
download | emacs-483142615864e990b2ec45e61681d7ab44096335.tar.gz emacs-483142615864e990b2ec45e61681d7ab44096335.tar.bz2 emacs-483142615864e990b2ec45e61681d7ab44096335.zip |
Fix recipe for 'native-lisp' directory
* src/Makefile.in (../native-lisp): If the directory native-lisp
exists, do nothing.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 10 |
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. |