From: Jim Meyering Date: Wed, 11 Jul 2007 09:25:57 +0000 (+0200) Subject: If there's a GPL vN copyright comment, require that N == 3. X-Git-Tag: v6.9.89~237 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e345806d939845cc3761a42b3a7490c267735b8b;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/ChangeLog b/ChangeLog index 95f77acb35..03cc88d412 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-07-11 Jim Meyering + + 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 Skip "arch" test if it's not built. diff --git a/Makefile.maint b/Makefile.maint index 088ddf35b3..f0c98c8765 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 a55a02c1c5..6082cccabf 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,