]> code.delx.au - gnu-emacs-elpa/commitdiff
Skip "test" directories for copyright checks
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 24 May 2015 13:35:33 +0000 (09:35 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 24 May 2015 13:35:33 +0000 (09:35 -0400)
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 |             \