[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4c086bf2951: Cleaner solution for Org version updates
From: |
Eli Zaretskii |
Subject: |
master 4c086bf2951: Cleaner solution for Org version updates |
Date: |
Sat, 15 Apr 2023 06:47:51 -0400 (EDT) |
branch: master
commit 4c086bf2951596d04677c343eb49fb32a3831e18
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Cleaner solution for Org version updates
* lisp/Makefile.in (BYTE_COMPILE_FLAGS): Set org--built-in-p
non-nil, to avoid aborting the build when Org's version is bumped.
($(lisp)/org/org.elc): Remove dependencies of org-version.el, as
no longer needed. (Bug#62762)
---
lisp/Makefile.in | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 437667e7586..4aa01e77e4e 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -74,7 +74,7 @@ AUTOGENEL = ${loaddefs} ${srcdir}/cus-load.el
${srcdir}/finder-inf.el \
# Set load-prefer-newer for the benefit of the non-bootstrappers.
BYTE_COMPILE_FLAGS = \
--eval "(setq load-prefer-newer t byte-compile-warnings 'all)" \
- $(BYTE_COMPILE_EXTRA_FLAGS)
+ --eval "(setq org--built-in-p t)" $(BYTE_COMPILE_EXTRA_FLAGS)
# ... but we must prefer .elc files for those in the early bootstrap.
compile-first: BYTE_COMPILE_FLAGS = $(BYTE_COMPILE_EXTRA_FLAGS)
@@ -543,12 +543,4 @@ $(lisp)/progmodes/cc-styles.elc:
$(lisp)/progmodes/cc-vars.elc \
$(lisp)/progmodes/js.elc: $(lisp)/progmodes/cc-defs.elc \
$(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-mode.elc
-# When org-version.el gets updated with a new version, all the Org
-# files need to be recompiled, or else the build will fail due to
-# version mismatch, prompting the naive users to bootstrap. So we
-# make all the Org *.elc files dependent of org-version.el, to trigger
-# their recompilation automatically.
-$(lisp)/org/org.elc $(filter-out $(lisp)/org/org-version.elc,$(filter-out
$(lisp)/org/org.elc,$(wildcard $(lisp)/org/*.elc))): \
- $(lisp)/org/org-version.el
-
# Makefile ends here.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4c086bf2951: Cleaner solution for Org version updates,
Eli Zaretskii <=