emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 315fe20: ; * src/Makefile.in (../native-lisp): Add comment.


From: Eli Zaretskii
Subject: emacs-28 315fe20: ; * src/Makefile.in (../native-lisp): Add comment.
Date: Sat, 9 Oct 2021 04:24:42 -0400 (EDT)

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

    ; * src/Makefile.in (../native-lisp): Add comment.
---
 src/Makefile.in | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/Makefile.in b/src/Makefile.in
index 0326b4a..6d75e35 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -803,6 +803,15 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) 
$(lisp:.elc=.eln)
        @$(MAKE) $(AM_V_NO_PD) -C ../lisp EMACS="../src/emacs$(EXEEXT)"\
                THEFILE=$< $<n
 
+## FIXME: this is fragile!  We lie to Make about the files produced by
+## this rule, and we rely on the absence of the native-lisp directory
+## to trigger it.  This means that if anything goes wrong during
+## native compilation, the only way to trigger it again is to remove
+## the directory and re-native-compile everything.  The main
+## underlying problem is that the name of the subdirectory of
+## native-lisp where the *.eln files will be produced, and the exact
+## names of those *.eln files, cannot be known in advance; we must ask
+## Emacs to produce them.
 ../native-lisp: | $(pdmp)
        @if test ! -d $@; then \
          mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \



reply via email to

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