diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.maint | 8 | ||||
-rw-r--r-- | doc/coreutils.texi | 3 |
3 files changed, 15 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2007-05-22 Jim Meyering <jim@meyering.net> + Check for an up-to-date copyright year in coreutils.texi. + * Makefile.maint (copyright-check): Also check for an up-to-date + copyright year in doc/$().texi, if that file exists. + * doc/coreutils.texi: Add 2007 to list of Copyright years. + Reported by Karl Berry. + cut: diagnose a range starting with 0 (-f 0-2) as invalid, and give a better diagnostic for a field-number/offset of 0. * NEWS: Mention the fix. diff --git a/Makefile.maint b/Makefile.maint index 795cd99ee..c4da71e93 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -450,7 +450,9 @@ writable-files: v_etc_file = lib/version-etc.c sample-test = tests/sample-test +texi = doc/$(PACKAGE).texi # Make sure that the copyright date in $(v_etc_file) is up to date. +# Do the same for the $(sample-test) and the main doc/.texi file. copyright-check: @if test -f $(v_etc_file); then \ grep 'enum { COPYRIGHT_YEAR = '$$(date +%Y)' };' $(v_etc_file) \ @@ -464,6 +466,12 @@ copyright-check: || { echo 'out of date copyright in $(sample-test); update it' 1>&2; \ exit 1; }; \ fi + @if test -f $(texi); then \ + grep 'Copyright @copyright{} .*'$$(date +%Y)' Free' $(texi) \ + >/dev/null \ + || { echo 'out of date copyright in $(texi); update it' 1>&2; \ + exit 1; }; \ + fi # Sanity checks with the repository. diff --git a/doc/coreutils.texi b/doc/coreutils.texi index cc4d0b853..e3a7ec124 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -131,8 +131,7 @@ This manual documents version @value{VERSION} of the @sc{gnu} core utilities, including the standard programs for text and file manipulation. -Copyright @copyright{} 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2004, -2005, 2006 Free Software Foundation, Inc. +Copyright @copyright{} 1994-1996, 2000-2007 Free Software Foundation, Inc. @quotation Permission is granted to copy, distribute and/or modify this document |