[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9b5c54a49d: Ensure that updated loaddefs files are byte-compiled
From: |
Lars Ingebrigtsen |
Subject: |
master 9b5c54a49d: Ensure that updated loaddefs files are byte-compiled |
Date: |
Thu, 4 Aug 2022 13:10:34 -0400 (EDT) |
branch: master
commit 9b5c54a49df931116d85fdfb0b482b1a1074eaf5
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Ensure that updated loaddefs files are byte-compiled
* lisp/Makefile.in: Add autoloads as an ordering-only dependency
to compile-main so that newly updated loaddefs files are byte-compiled.
---
lisp/Makefile.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 7c1f872939..c11d9bbec9 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -348,7 +348,11 @@ endif
# Compile all the Elisp files that need it. Beware: it approximates
# 'no-byte-compile', so watch out for false-positives!
-compile-main: gen-lisp compile-clean main-first
+
+# The "autoloads" target has to run first, because it may generate new
+# loaddefs files. But don't depend on it, because that might trigger
+# unnecessary rebuilds.
+compile-main: gen-lisp compile-clean main-first | autoloads
@(cd $(lisp) && \
els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e
's| |/*.el |g'`; \
for el in $$els; do \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9b5c54a49d: Ensure that updated loaddefs files are byte-compiled,
Lars Ingebrigtsen <=