[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 42c5112 084/439: * GNUmakefile (%.elc): Don't depend
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 42c5112 084/439: * GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes |
Date: |
Sun, 17 Oct 2021 15:47:38 -0400 (EDT) |
branch: elpa-admin
commit 42c5112529ae931e819663bc235309eee5276eca
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes
constant recompilation of everything.
(elcs): New target.
(all-in-place): Run elcs in a submake, after updating autoloads.
---
GNUmakefile | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 5d45065..7f2061d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -118,13 +118,16 @@ nbc_els := $(foreach el, $(extra_els), \
elcs := $(call SET-diff, $(naive_elcs), $(patsubst %.el, %.elc, $(nbc_els)))
# '(dolist (al (quote ($(patsubst %, "%", $(autoloads))))) (load
(expand-file-name al) nil t))'
-%.elc: %.el $(autoloads)
+%.elc: %.el
@echo 'EMACS -f batch-byte-compile $<'
@$(EMACS) --batch \
--eval "(setq package-directory-list '(\"$(abspath packages)\"))" \
--eval '(package-initialize)' \
-L $(dir $@) -f batch-byte-compile $<
+.PHONY: elcs
+elcs: $(elcs)
+
# Remove .elc files that don't have a corresponding .el file any more.
extra_elcs := $(call SET-diff, $(current_elcs), $(naive_elcs))
.PHONY: $(extra_elcs)
@@ -145,5 +148,7 @@ $(extra_elcs):; rm $@
# --eval '(setq d (with-current-buffer b (package-buffer-info)))' \
# --eval '(package-generate-description-file d "$(dir $@)")'
-
-all-in-place: $(extra_elcs) $(autoloads) $(elcs) # $(single_pkgs)
+.PHONY: all-in-place
+all-in-place: $(extra_elcs) $(autoloads) # $(single_pkgs)
+ # Do them in a sub-make, so that autoloads are done first.
+ $(MAKE) elcs
- [nongnu] elpa-admin 334aa51 273/439: Merge commit 'a1130df3ada34e76675324a8c25823b420b20239', (continued)
- [nongnu] elpa-admin 334aa51 273/439: Merge commit 'a1130df3ada34e76675324a8c25823b420b20239', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin cb72492 279/439: Merge branch 'ebdb-bits', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c60a3bb 280/439: Merge branch 'scratch/which-key', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8154769 282/439: * copyright_exceptions: Update for new uni-confusables/gen-confusables.el, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 280353e 287/439: Merge commit 'cb905bdc728fb3b5f9fdff8836d71b62bd717eab' from mmm-mode, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin aa346f0 290/439: * GNUmakefile (org-fetch): Use https and stick to wget, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 84f67ae 294/439: * admin/archive-contents.el (archive--insert-repolinks): Fix last change, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0c23652 046/439: Revert "Add an explicit OPERATION-MODE "nil" in README's examples", Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 99b8d94 054/439: admin/archive-contents.el (batch-make-archive, archive--process-simple-package): Use write-region, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c497b5b 083/439: * GNUmakefile: Rename from Makefile. Add targets for in-place use., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 42c5112 084/439: * GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes,
Philip Kaludercic <=
- [nongnu] elpa-admin cbd75c6 082/439: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 833084f 126/439: Add 'packages/web-server/' from commit 'd0b6ae9df6014db2195da0081dc97cc8246f1fda', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 29880d4 115/439: Merge branch 'master' of git://bzr.sv.gnu.org/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d406160 122/439: Merge the two README. Update copyright_exceptions., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 428b368 137/439: Add "rudel" to the list of externals., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 88fb267 150/439: Update README to tell how to checkout a single external package., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 773b9dd 147/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5e1943e 157/439: Merge commit '469cd3bc117bfb8da0c03a2a2fb185e80c81d068', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ed4d0fa 163/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 1b86fe8 166/439: Add 'packages/load-relative/' from commit '15ffaa9ebf1b7bbfcc307d1716eec135253b3b8d', Philip Kaludercic, 2021/10/17