monnier pushed a commit to branch master
in repository elpa.

commit 438d6626594a2b20cd9df6ec1c5ef023c72fdb8c
Author: Stefan Monnier <monn...@iro.umontreal.ca>
Date:   Thu Jul 31 12:24:13 2014 -0400

    * GNUmakefile: Don't look for .el files under .git
---
 GNUmakefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 7d88843..ec3dc25 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -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'       \

Reply via email to