[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin 4d58120 179/357: * GNUmakefile: Fix autoloads generati
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin 4d58120 179/357: * GNUmakefile: Fix autoloads generation for aggressive-indent |
Date: |
Thu, 10 Dec 2020 18:06:38 -0500 (EST) |
branch: elpa-admin
commit 4d5812025808d3b697927e27cc69024a30bd8300
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* GNUmakefile: Fix autoloads generation for aggressive-indent
---
GNUmakefile | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/GNUmakefile b/GNUmakefile
index 6a2aa1e..e35b82d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -105,6 +105,18 @@ endef
# Compute the set of autolods files and their dependencies.
autoloads := $(foreach pkg, $(pkgs), $(pkg)/$(notdir $(pkg))-autoloads.el)
+# FIXME: In 99% of the cases, autoloads can be generated in any order.
+# But the `names' package is an exception because it sets up an advice that
+# changes the way autload.el operates, and that advice is needed when creating
+# the autoloads file of packages that use `names', such as `aggressive-indent'.
+# The right solution is to check the Package-Requires and create the autoloads
+# files in topological order, but for now we'll just do it the ad-hoc way
+# add hand-made dependencies between autoloads files, and explicitly
+# load the names-autoloads file when building autoloads files.
+
+packages/aggressive-indent/aggressive-indent-autoloads.el: \
+ packages/names/names-autoloads.el
+
$(foreach al, $(autoloads), $(eval $(call RULE-srcdeps, $(al))))
%-autoloads.el:
@echo 'Generating autoloads for $@'
@@ -112,6 +124,7 @@ $(foreach al, $(autoloads), $(eval $(call RULE-srcdeps,
$(al))))
$(EMACS) -l $(CURDIR)/admin/archive-contents.el \
--eval "(archive--refresh-pkg-file)" \
--eval "(require 'package)" \
+ --eval "(load (expand-file-name \"../names/names-autoloads.el\")
t t)" \
--eval "(package-generate-autoloads \"$$(basename $$(pwd))\" \
\"$$(pwd)\")"
- [elpa] elpa-admin 788c439 170/357: Merge commit 'fea2a8b1c10f9f29ba6924b17892de670b650756', (continued)
- [elpa] elpa-admin 788c439 170/357: Merge commit 'fea2a8b1c10f9f29ba6924b17892de670b650756', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 2970d75 176/357: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 627a556 177/357: Update packages/darkroom by merging its external subtree, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 6ab28f9 156/357: drop Emacs dependency to 24.3, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 79849d3 167/357: Add 'packages/realgud/' from commit 'd811316e6a0f4eeee8a1347f504c196c86baa2cb', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin f08292f 152/357: * admin/archive-contents.el: Don't stop at the first incorrect version string., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 3caf5e7 154/357: * GNUmakefile: Don't look for .el files under .git, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin d5d2dd5 173/357: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 548b0ee 164/357: Remove version.texi from the repo, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin e608fc6 160/357: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 4d58120 179/357: * GNUmakefile: Fix autoloads generation for aggressive-indent,
Stefan Monnier <=
- [elpa] elpa-admin c8403d5 175/357: Add 'packages/loc-changes/' from commit 'efbe022eaeef0ccc54ffe219216974a786c3301c', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin c7bd6b7 159/357: * GNUmakefile: Fix generation of <pkg>-pkg.el files., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin ed4d0fa 163/357: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 5e1943e 157/357: Merge commit '469cd3bc117bfb8da0c03a2a2fb185e80c81d068', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 0f843a7 275/357: Merge branch 'scratch/dired-du', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin d4f5903 284/357: * README: Clarify the right fix for check_copyrights failure, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin c60a3bb 280/357: Merge branch 'scratch/which-key', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin f85cb8d 302/357: * README (PACKAGES/Externals): Clarify use, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 26a2da8 312/357: More specific externals example., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 55ff372 317/357: * admin/archive-contents.el: Improve package HTML headers, Stefan Monnier, 2020/12/10