branch: master
commit f3a6aafd725ee86593df921224e0af2be1c09e57
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>
Skip "test" directories for copyright checks
---
GNUmakefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index e35b82d..03044dc 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -15,7 +15,9 @@ check_copyrights:
@echo "Compute exceptions >$(CR_EXCEPTIONS)~"
@export LANG=C; \
(cd packages; \
- find . -name '.git' -prune -o -name '*.el' -print0 | \
+ find . -name '.git' -prune -o \
+ -name 'test' -prune -o \
+ -name '*.el' -print0 | \
xargs -0 grep -L 'Free Software Foundation, Inc' | \
grep -v '\(\.dir-locals\|.-\(pkg\|autoloads\)\)\.el$$'; \
find . -name '.git' -prune -o -name '*.el' -print | \