aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Möllmann2022-08-18 14:44:11 +0200
committerLars Ingebrigtsen2022-08-18 14:44:18 +0200
commit6d38ff1b9e41b1f37bf4a0c64cddfcac64e4c4e7 (patch)
treec453a66f076657d3e7b684b6909d1d0fb0670123
parent335bf5f55a02eaa8c6cbc60d7fdc6865a8000b61 (diff)
downloademacs-6d38ff1b9e41b1f37bf4a0c64cddfcac64e4c4e7.tar.gz
emacs-6d38ff1b9e41b1f37bf4a0c64cddfcac64e4c4e7.zip
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.
-rw-r--r--Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index bf0f52b514e..78103f897f9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -358,10 +358,17 @@ endif
358 358
359gsettings_SCHEMAS = etc/org.gnu.emacs.defaults.gschema.xml 359gsettings_SCHEMAS = etc/org.gnu.emacs.defaults.gschema.xml
360 360
361all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) 361all: ${SUBDIR} info $(gsettings_SCHEMAS:.xml=.valid) src-depending-on-lisp
362 362
363.PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 epaths-force-ns-self-contained etc-emacsver 363.PHONY: all ${SUBDIR} blessmail epaths-force epaths-force-w32 epaths-force-ns-self-contained etc-emacsver
364 364
365# Changes in lisp may require us to reconsider the build in src. For
366# example, if loaddefs.{el,elc} were built in lisp, we need a new
367# .pdmp containing the new autoloads.
368.PHONY: src-depending-on-lisp
369src-depending-on-lisp: lisp
370 ${MAKE} -C src
371
365# If configure were to just generate emacsver.tex from emacsver.tex.in 372# If configure were to just generate emacsver.tex from emacsver.tex.in
366# in the normal way, the timestamp of emacsver.tex would always be 373# in the normal way, the timestamp of emacsver.tex would always be
367# newer than that of the pdf files, which are prebuilt in release tarfiles. 374# newer than that of the pdf files, which are prebuilt in release tarfiles.