[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin c7bd6b7 159/439: * GNUmakefile: Fix generation of <p
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin c7bd6b7 159/439: * GNUmakefile: Fix generation of <pkg>-pkg.el files. |
Date: |
Sun, 17 Oct 2021 15:47:52 -0400 (EDT) |
branch: elpa-admin
commit c7bd6b76fd45520969297f9afc876423301c5b2d
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* GNUmakefile: Fix generation of <pkg>-pkg.el files.
(pkg_descs): New var.
(all-in-place): Use it.
---
GNUmakefile | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index ec3dc25..25be098 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -145,21 +145,19 @@ $(extra_elcs):; rm $@
# # Put into single_pkgs the set of -pkg.el files we need to keep up-to-date.
# # I.e. all the -pkg.el files for the single-file packages.
-# single_pkgs:=$(foreach pkg, $(pkgs), \
-# $(word $(words $(call FILTER-nonsrc, \
-# $(wildcard $(pkg)/*.el))), \
-# $(pkg)/$(notdir $(pkg))-pkg.el))
-# #$(foreach al, $(single_pkgs), $(eval $(call RULE-srcdeps, $(al))))
-# %-pkg.el: %.el
-# @echo 'Generating description file $@'
-# @$(EMACS) \
-# --eval '(require (quote package))' \
-# --eval '(setq b (find-file-noselect "$<"))' \
-# --eval '(setq d (with-current-buffer b (package-buffer-info)))' \
-# --eval '(package-generate-description-file d "$(dir $@)")'
+pkg_descs:=$(foreach pkg, $(pkgs), $(pkg)/$(notdir $(pkg))-pkg.el)
+#$(foreach al, $(single_pkgs), $(eval $(call RULE-srcdeps, $(al))))
+%-pkg.el: %.el
+ @echo 'Generating description file $@'
+ $(EMACS) \
+ --eval '(require (quote package))' \
+ --eval '(setq b (find-file-noselect "$<"))' \
+ --eval '(setq d (with-current-buffer b (package-buffer-info)))' \
+ --eval '(package-generate-description-file d "$@")'
.PHONY: all-in-place
-all-in-place: $(extra_elcs) $(autoloads) # $(single_pkgs)
+all-in-place: $(extra_elcs) $(autoloads) $(pkg_descs)
+ echo Descs = $(pkg_descs)
# Do them in a sub-make, so that autoloads are done first.
$(MAKE) elcs
- [nongnu] elpa-admin c55c928 238/439: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, (continued)
- [nongnu] elpa-admin c55c928 238/439: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8efb626 241/439: Merge commit '4d1dcdf7631c23b1259ad4f72bf9686cf95fb46c', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c398fd6 116/439: supports web sockets, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0306c73 111/439: update README, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 210b02d 125/439: README and install instructions mention GNU ELPA, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 96a8283 129/439: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a3f667f 133/439: Don't allow package-initialize to use ~/.emacs.d, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin b09c975 134/439: Change echo statements during build., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 657ebb0 140/439: Add ergoemacs-mode; fix up externals maintenance, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 60d74f2 136/439: Merge commit 'aecfbcbc10cf03ec94062ac3e590f8118e5a0434', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c7bd6b7 159/439: * GNUmakefile: Fix generation of <pkg>-pkg.el files.,
Philip Kaludercic <=
- [nongnu] elpa-admin db9b5cd 155/439: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0366a3f 162/439: Add packages/darkroom by merging its upstream subtree, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d54db67 139/439: * admin/archive-contents.el: Keep both home page a repository links., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d4312f8 143/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8861b20 138/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e608fc6 160/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a25204a 142/439: [quarter-plane] Fix typo in Commentary., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin adc1e5b 146/439: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 3caf5e7 154/439: * GNUmakefile: Don't look for .el files under .git, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4028a03 161/439: * GNUmakefile (%-pkg.el): Silence the emacs command line again., Philip Kaludercic, 2021/10/17