# HG changeset patch # User Jim Meyering # Date 1293916152 -3600 # Node ID 1a37c270d62d533ca2a8903cb770fddb8d65325e # Parent 4f7569e0b4ecc66ab5b823d291a08e9ec3629974 maint: update-copyright: exempt doc/INSTALL* * Makefile (update-copyright): Also exclude doc/INSTALL*, since they are generated. Suggested by Bruno Haible. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-01 Jim Meyering + + 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 maint: refine the update-copyright rule diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ # 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 @@ 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 \