From f3a6aafd725ee86593df921224e0af2be1c09e57 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 24 May 2015 09:35:33 -0400 Subject: [PATCH] Skip "test" directories for copyright checks --- GNUmakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index e35b82d66..03044dccc 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 | \ -- 2.39.2