emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa-admin 3caf5e7 154/357: * GNUmakefile: Don't look for .el fil


From: Stefan Monnier
Subject: [elpa] elpa-admin 3caf5e7 154/357: * GNUmakefile: Don't look for .el files under .git
Date: Thu, 10 Dec 2020 18:06:34 -0500 (EST)

branch: elpa-admin
commit 3caf5e7fcaec07bd0d38f46dc1dc90a780425daa
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * GNUmakefile: Don't look for .el files under .git
---
 GNUmakefile | 4 ++--
 1 file 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

[Prev in Thread] Current Thread [Next in Thread]