]> code.delx.au - gnu-emacs-elpa/blobdiff - GNUmakefile
Skip "test" directories for copyright checks
[gnu-emacs-elpa] / GNUmakefile
index e35b82d6699c11c3d48fd4844735655cfebe84db..03044dccc77b4bd0ba53d23bf6aca8cb147a732e 100644 (file)
@@ -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 |             \