diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.maint | 5 | ||||
-rwxr-xr-x | tests/misc/arch | 2 |
3 files changed, 12 insertions, 1 deletions
@@ -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. diff --git a/Makefile.maint b/Makefile.maint index 088ddf35b..f0c98c876 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -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 diff --git a/tests/misc/arch b/tests/misc/arch index a55a02c1c..6082cccab 100755 --- a/tests/misc/arch +++ b/tests/misc/arch @@ -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, |