branch: elpa-admin
commit 3caf5e7fcaec07bd0d38f46dc1dc90a780425daa
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>
* GNUmakefile: Don't look for .el files under .git
---
GNUmakefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 7d88843..ec3dc25 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -15,10 +15,10 @@ check_copyrights:
@echo "Compute exceptions >$(CR_EXCEPTIONS)~"
@export LANG=C; \
(cd packages; \
- find . -name '*.el' -print0 | \
+ find . -name '.git' -prune -o -name '*.el' -print0 | \
xargs -0 grep -L 'Free Software Foundation, Inc' | \
grep -v '\(\.dir-locals\|.-\(pkg\|autoloads\)\)\.el$$'; \
- find . -name '*.el' -print | \
+ find . -name '.git' -prune -o -name '*.el' -print | \
while read f; do \
fquoted="$$(echo $$f|tr '|' '_')"; \
sed -n -e '/[Cc]opyright.*, *[1-9][-0-9]*,\?$$/N' \