[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 5067b05 258/439: Change to package directory before
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 5067b05 258/439: Change to package directory before checking .elpaignore exclusions. |
Date: |
Sun, 17 Oct 2021 15:48:14 -0400 (EDT) |
branch: elpa-admin
commit 5067b052d61b344aad7a6683df441811bac5e022
Author: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Change to package directory before checking .elpaignore exclusions.
If we don't do this, the package's directory's name is included in the file
names that are checked for .elpaignore matches. .elpaignore matches should
be
assumed to occur inside the package's directory.
---
GNUmakefile | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 6d57fae..8edb2f8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -150,13 +150,18 @@ $(foreach al, $(autoloads), $(eval $(call RULE-srcdeps,
$(al))))
included_els := $(shell \
for pt in packages/*; do \
if [ -d $$pt ]; then \
- if [ -f "$${pt}/.elpaignore" ]; then \
- tar -ch $$pt/*.el --no-recursion \
- --exclude-vcs -X "$${pt}/.elpaignore" \
+ prev=$$(pwd); \
+ cd $$pt; \
+ if [ -f .elpaignore ]; then \
+ tar -ch *.el --no-recursion \
+ --exclude-vcs -X .elpaignore \
| tar --list; \
else \
- ls -1 $$pt/*.el; \
- fi; \
+ ls -1 *.el; \
+ fi | while read line; \
+ do echo "$${pt}/$${line}"; \
+ done; \
+ cd $$prev; \
fi; \
done)
els := $(call FILTER-nonsrc, $(included_els))
- [nongnu] elpa-admin b824440 047/439: Minor rephrasing in README, (continued)
- [nongnu] elpa-admin b824440 047/439: Minor rephrasing in README, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin dfa5808 053/439: Rework archive-contents.el to handle new packages/ structure., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin da7456c 065/439: write README in markdown, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7ce78d5 071/439: Note that 'autogen.sh' should be run to generate 'configure' and 'Makefile.in' (see #11), Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a745b29 076/439: * admin/archive-contents.el: Create web pages., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 1daf0bb 085/439: Merge branch 'master' of github.com:rocky/emacs-loc-changes, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e71d997 087/439: Merge remote-tracking branch 'repo.or.cz/elpa', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin cd01c51 080/439: Remove the angle brackets, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 30c8a11 248/439: Merge commit '5f47b1f64cad8a06e945e2a1287b986a3676554d', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 299da86 255/439: Package pages improvements, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5067b05 258/439: Change to package directory before checking .elpaignore exclusions.,
Philip Kaludercic <=
- [nongnu] elpa-admin ec13cc2 260/439: Let ert-support.el work for subdirectories, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8ee4770 264/439: [admin int] Add abstraction: archive--form-from-file-contents, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ae66216 267/439: [admin int] Replace one-armed-‘if’ w/ either ‘when’ or ‘and’., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a23a8b8 271/439: Merge branch 'scratch/hook-helpers', Philip Kaludercic, 2021/10/17
- [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