]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
If there's a GPL vN copyright comment, require that N == 3.
authorJim Meyering <jim@meyering.net>
Wed, 11 Jul 2007 09:25:57 +0000 (11:25 +0200)
committerJim Meyering <jim@meyering.net>
Wed, 11 Jul 2007 09:25:57 +0000 (11:25 +0200)
* Makefile.maint (sc_GPL_version): New rule.
* tests/misc/arch: Fix the sole violation.

ChangeLog
Makefile.maint
tests/misc/arch

index 95f77acb35ea7b00c2ddb50963b22aaac9d0c460..03cc88d412831b278af3f940e25dba4958655ba0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-11  Jim Meyering  <jim@meyering.net>
+
+       If there's a GPL vN copyright comment, require that N == 3.
+       * Makefile.maint (sc_GPL_version): New rule.
+       * tests/misc/arch: Fix the sole violation.
+
 2007-07-10  Jim Meyering  <jim@meyering.net>
 
        Skip "arch" test if it's not built.
index 088ddf35b38918dcda633d6129a7e333665cc860..f0c98c8765807641f7fcd573885f7b5d6c3b170b 100644 (file)
@@ -355,6 +355,11 @@ sc_useless_cpp_parens:
          { echo '$(ME): found useless parentheses in cpp directive'    \
                1>&2; exit 1; } || :
 
+# Require the latest GPL.
+sc_GPL_version:
+       @grep -n 'either ''version [^3]' $$($(CVS_LIST_EXCEPT)) &&      \
+         { echo '$(ME): GPL vN, N!=3' 1>&2; exit 1; } || :
+
 # Ensure that the c99-to-c89 patch applies cleanly.
 patch-check:
        rm -rf src-c89 $@.1 $@.2
index a55a02c1c581618a6022d37daf17c420f7ae46c7..6082cccabf049f5206678cd1f624250916c4d9d1 100755 (executable)
@@ -5,7 +5,7 @@
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 
 # This program is distributed in the hope that it will be useful,