[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 4d58120 179/439: * GNUmakefile: Fix autoloads genera
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 4d58120 179/439: * GNUmakefile: Fix autoloads generation for aggressive-indent |
Date: |
Sun, 17 Oct 2021 15:47:57 -0400 (EDT) |
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)\")"
- [nongnu] elpa-admin 4028a03 161/439: * GNUmakefile (%-pkg.el): Silence the emacs command line again., (continued)
- [nongnu] elpa-admin 4028a03 161/439: * GNUmakefile (%-pkg.el): Silence the emacs command line again., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8f23f86 144/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 3038d13 151/439: README: Use remote.origin.url to avoid loosing write access and save some typing., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 548b0ee 164/439: Remove version.texi from the repo, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0b918e3 191/439: Merge ack master from github.com:leoliu/ack-el, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 2970d75 176/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c8403d5 175/439: Add 'packages/loc-changes/' from commit 'efbe022eaeef0ccc54ffe219216974a786c3301c', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 3a129d5 190/439: Add support to build packages from Emacs repo, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 788c439 170/439: Merge commit 'fea2a8b1c10f9f29ba6924b17892de670b650756', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5a1a2bc 184/439: Merge commit '32b1944d5f0a65aa10c6768f4865f7ed1de8eb49' as 'packages/pinentry', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4d58120 179/439: * GNUmakefile: Fix autoloads generation for aggressive-indent,
Philip Kaludercic <=
- [nongnu] elpa-admin aec5d97 172/439: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 28819e8 192/439: Skip uninteresting elements, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin cb8a04b 195/439: * admin/archive-contents.el: Improve docstrings, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ac1e1e9 198/439: README: Fix typos., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin f936e1e 180/439: Merge dummy commit to add the gnorb subtree metadata., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 3a394c3 188/439: Merge commit 'd76bcd7c0dcecb33e6955e25963028600c371588', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5e9fdd4 197/439: * README: Revert change about package.el headers, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 9731033 204/439: Use symbolic links for core packages, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7edd6ff 205/439: Dereference symlinks when creating tarballs, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin df09582 201/439: * README: Add submission guideline, Philip Kaludercic, 2021/10/17