maint: update-copyright: exempt doc/INSTALL*
authorJim Meyering <meyering@redhat.com>
Sat, 1 Jan 2011 21:09:12 +0000 (22:09 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Jan 2011 21:09:37 +0000 (22:09 +0100)
* Makefile (update-copyright): Also exclude doc/INSTALL*,
since they are generated.  Suggested by Bruno Haible.

ChangeLog
Makefile

index dc8bd403865415a424dc6067c79b0b0a2987174e..06aa425138be143f6919cc8b71f571d8ed4b0ff1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-01  Jim Meyering  <meyering@redhat.com>
+
+       maint: update-copyright: exempt doc/INSTALL*
+       * Makefile (update-copyright): Also exclude doc/INSTALL*,
+       since they are generated.  Suggested by Bruno Haible.
+
 2011-01-01  Jim Meyering  <meyering@redhat.com>
 
        maint: refine the update-copyright rule
index 745c603c70e3946ef61fd21d1847ab08a9d8eb93..c3bf4a979dfdd122772eb4c43684c4f860d2cc6c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,7 @@ MODULES.html: MODULES.html.sh
 # as well as those in tests/unictype (generated).
 # Also exclude any file that includes the "GENERATED AUTOMATICALLY" comment,
 # being careful not to exclude code that merely generates the comment.
+# Also exclude doc/INSTALL*, since they too are generated.
 update-copyright:
        exempt=$$(mktemp);                                              \
        grep -v '^#' config/srclist.txt|grep -v '^$$'                   \
@@ -69,6 +70,7 @@ update-copyright:
              echo "$$dst"/$$(basename "$$src");                        \
            done > $$exempt;                                            \
        git ls-files tests/unictype >> $$exempt;                        \
+       git ls-files doc/INSTALL* >> $$exempt;                          \
        git ls-files | grep -vFf $$exempt                               \
          | xargs grep -L '^/\*.*GENERATED AUTOMATICALLY'               \
          | UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79                         \