aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-08-03 14:22:08 +0200
committerLars Ingebrigtsen2022-08-03 14:22:16 +0200
commit261d6afd6e6f3ba2bbf4db0d9ac57b0cbacc0137 (patch)
treecd5ffb82678413d429e82285b6f849b6ea8f1e19 /src
parent6fb206329f9c3f14154bd425e08b2e72e7f31855 (diff)
downloademacs-261d6afd6e6f3ba2bbf4db0d9ac57b0cbacc0137.tar.gz
emacs-261d6afd6e6f3ba2bbf4db0d9ac57b0cbacc0137.zip
Byte-compile the in-tree loaddefs.el files
* lisp/Makefile.in (all): Add "autoloads", which now otherwise won't be done. ($(lisp)/loaddefs.el): Remove this target, since it's always done, and would then trigger a re-compilation of loaddefs.elc. * lisp/loadup.el: Load loaddefs.elc (if it exists). * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Don't include no-byte-compile cookies in the Emacs build. * src/Makefile.in ($(pdmp)): Depend on loaddefs.elc to ensure that it's built by this point. ($(etc)/DOC): Don't scan loaddefs.el for doc strings, since they are now picked up from the .elc file (bug#53024).
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 7d15b7afd51..e81e7a16d94 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -635,7 +635,7 @@ Emacs.pdmp: $(pdmp)
635endif 635endif
636 636
637ifeq ($(DUMPING),pdumper) 637ifeq ($(DUMPING),pdumper)
638$(pdmp): emacs$(EXEEXT) 638$(pdmp): emacs$(EXEEXT) $(lispsource)/loaddefs.elc
639 LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ 639 LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \
640 --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) 640 --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR)
641 cp -f $@ $(bootstrap_pdmp) 641 cp -f $@ $(bootstrap_pdmp)
@@ -652,13 +652,11 @@ endif
652## for the first time, this prevents any variation between configurations 652## for the first time, this prevents any variation between configurations
653## in the contents of the DOC file. 653## in the contents of the DOC file.
654## 654##
655$(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(doc_obj) $(lispsource)/loaddefs.el 655$(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(doc_obj)
656 $(AM_V_GEN)$(MKDIR_P) $(etc) 656 $(AM_V_GEN)$(MKDIR_P) $(etc)
657 $(AM_V_at)rm -f $(etc)/DOC 657 $(AM_V_at)rm -f $(etc)/DOC
658 $(AM_V_at)$(libsrc)/make-docfile -d $(srcdir) \ 658 $(AM_V_at)$(libsrc)/make-docfile -d $(srcdir) \
659 $(SOME_MACHINE_OBJECTS) $(doc_obj) > $(etc)/DOC 659 $(SOME_MACHINE_OBJECTS) $(doc_obj) > $(etc)/DOC
660 $(AM_V_at)$(libsrc)/make-docfile -a $(etc)/DOC -d $(lispsource) \
661 loaddefs.el
662 660
663$(libsrc)/make-docfile$(EXEEXT) $(libsrc)/make-fingerprint$(EXEEXT): \ 661$(libsrc)/make-docfile$(EXEEXT) $(libsrc)/make-fingerprint$(EXEEXT): \
664 $(lib)/libgnu.a 662 $(lib)/libgnu.a