]> code.delx.au - gnu-emacs-elpa/blobdiff - GNUmakefile
* GNUmakefile: Don't look for .el files under .git
[gnu-emacs-elpa] / GNUmakefile
index 7d888439be54a417d79d9252ee6fdd4cb056cc9d..ec3dc25f8c00daca40016d54fe2f443281355a3a 100644 (file)
@@ -15,10 +15,10 @@ check_copyrights:
        @echo "Compute exceptions >$(CR_EXCEPTIONS)~"
        @export LANG=C;                                                 \
        (cd packages;                                                   \
-       find . -name '*.el' -print0 |                                   \
+       find . -name '.git' -prune -o -name '*.el' -print0 |            \
            xargs -0 grep -L 'Free Software Foundation, Inc' |          \
            grep -v '\(\.dir-locals\|.-\(pkg\|autoloads\)\)\.el$$';     \
-       find . -name '*.el' -print |                                    \
+       find . -name '.git' -prune -o -name '*.el' -print |             \
            while read f; do                                            \
                fquoted="$$(echo $$f|tr '|' '_')";                      \
                sed -n -e '/[Cc]opyright.*, *[1-9][-0-9]*,\?$$/N'       \