emacs-diffs
[Top][All Lists]
Advanced

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

master 6d38ff1b9e: Rebuild the Emacs executable if loaddefs.el has chang


From: Lars Ingebrigtsen
Subject: master 6d38ff1b9e: Rebuild the Emacs executable if loaddefs.el has changed
Date: Thu, 18 Aug 2022 08:47:30 -0400 (EDT)

branch: master
commit 6d38ff1b9e41b1f37bf4a0c64cddfcac64e4c4e7
Author: Gerd Möllmann <gerd.moellmann@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Rebuild the Emacs executable if loaddefs.el has changed
    
    * Makefile.in (src-depending-on-lisp): Ensure that we check
    whether we need to rebuild the Emacs executable if loaddefs.el has
    been updated.
---
 Makefile.in | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index bf0f52b514..78103f897f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -358,10 +358,17 @@ endif
 
 gsettings_SCHEMAS = etc/org.gnu.emacs.defaults.gschema.xml
 
-all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid)
+all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) src-depending-on-lisp
 
 .PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 
epaths-force-ns-self-contained etc-emacsver
 
+# Changes in lisp may require us to reconsider the build in src.  For
+# example, if loaddefs.{el,elc} were built in lisp, we need a new
+# .pdmp containing the new autoloads.
+.PHONY: src-depending-on-lisp
+src-depending-on-lisp: lisp
+       ${MAKE} -C src
+
 # If configure were to just generate emacsver.tex from emacsver.tex.in
 # in the normal way, the timestamp of emacsver.tex would always be
 # newer than that of the pdf files, which are prebuilt in release tarfiles.



reply via email to

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