[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin c7bd6b7 159/357: * GNUmakefile: Fix generation of <pkg
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin c7bd6b7 159/357: * GNUmakefile: Fix generation of <pkg>-pkg.el files. |
Date: |
Thu, 10 Dec 2020 18:06:35 -0500 (EST) |
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
- [elpa] elpa-admin 627a556 177/357: Update packages/darkroom by merging its external subtree, (continued)
- [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, 2020/12/10
- [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 <=
- [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
- [elpa] elpa-admin c90458f 329/357: Add lang attributes to the html tag, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin cdef4ce 338/357: * admin/archive-contents.el: Add preliminary support for the NonGNU archive, Stefan Monnier, 2020/12/10