From: Stefan Monnier Date: Sun, 24 May 2015 13:35:33 +0000 (-0400) Subject: Skip "test" directories for copyright checks X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/f3a6aafd725ee86593df921224e0af2be1c09e57 Skip "test" directories for copyright checks --- 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 | \