This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to sort out dates in manuals
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sun, 6 Feb 2005 20:27:53 +0000 (UTC)
- Subject: Patch to sort out dates in manuals
Various manuals had "last updated" dates in them. They never get reliably
updated, whether on a notion of "last change of any sort" or "last
significant change". This patch removes them. Some had their own version
number reference, as if to indicate the version of the last significant
change; again, not reliably updated and removed by this patch in favour of
the common version number from gcc-common.texi. The treelang manual had
its own treelang version number; removed. Some copyright dates were out
of date; updated (along with adding 2005 for these changes). Where a
subtitle was "last updated [date] for version [...]" but the version
number was also mentioned elsewhere, I removed the whole subtitle. The
cppinternals manual said "The GNU C preprocessor in GCC 3.x has been
completely rewritten", which seemed to need changing now 4.x is current
and 3.x is past history; simply describing what the preprocessor is,
rather than that it was rewritten some years ago, seemed best.
The libiberty manual uses its own last update date and reference to GCC 3.
It can't use the common version number in gcc-common.texi because
libiberty isn't only used with GCC. I think it should just not give
either a date or a version number; in any case, this patch doesn't touch
it as being rather separate from the other GCC manuals.
It passes "make info" and "make dvi". Applied to mainline.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.7397
diff -u -r2.7397 ChangeLog
--- ChangeLog 6 Feb 2005 19:37:21 -0000 2.7397
+++ ChangeLog 6 Feb 2005 20:17:50 -0000
@@ -1,5 +1,18 @@
2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
+ * doc/cpp.texi: Include gcc-common.texi. Don't define gcctabopt
+ macro locally. Don't give last revision date. Use GCC version
+ number from gcc-common.texi.
+ * doc/cppinternals.texi: Include gcc-common.texi. Don't give last
+ revision date. Use GCC version number from gcc-common.texi.
+ Describe being a library as current state rather than as 3.x
+ history.
+ * doc/gcc.texi: Remove last update date.
+ * doc/gccint.texi: Likewise. Update copyright dates.
+ * doc/install.texi: Update copyright dates.
+
+2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
+
PR other/7549
* doc/invoke.texi: Mention for each option included in -Wall that
it is included in -Wall.
Index: doc/cpp.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/cpp.texi,v
retrieving revision 1.76
diff -u -r1.76 cpp.texi
--- doc/cpp.texi 20 Dec 2004 09:50:21 -0000 1.76
+++ doc/cpp.texi 6 Feb 2005 20:17:53 -0000
@@ -6,10 +6,12 @@
@c @cropmarks
@c @finalout
+@include gcc-common.texi
+
@copying
@c man begin COPYRIGHT
Copyright @copyright{} 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
-1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
@@ -40,10 +42,6 @@
@c man end
@end copying
-@macro gcctabopt{body}
-@code{\body\}
-@end macro
-
@c Create a separate index for command line options.
@defcodeindex op
@syncodeindex vr op
@@ -60,8 +58,7 @@
@titlepage
@title The C Preprocessor
-@subtitle Last revised April 2001
-@subtitle for GCC version 3
+@subtitle for GCC version @value{version-GCC}
@author Richard M. Stallman
@author Zachary Weinberg
@page
Index: doc/cppinternals.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/cppinternals.texi,v
retrieving revision 1.19
diff -u -r1.19 cppinternals.texi
--- doc/cppinternals.texi 13 Nov 2004 06:46:45 -0000 1.19
+++ doc/cppinternals.texi 6 Feb 2005 20:17:53 -0000
@@ -2,6 +2,8 @@
@setfilename cppinternals.info
@settitle The GNU C Preprocessor Internals
+@include gcc-common.texi
+
@ifinfo
@dircategory Programming
@direntry
@@ -16,7 +18,7 @@
@ifinfo
This file documents the internals of the GNU C Preprocessor.
-Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@@ -41,13 +43,12 @@
@titlepage
@c @finalout
@title Cpplib Internals
-@subtitle Last revised January 2002
-@subtitle for GCC version 3.1
+@subtitle for GCC version @value{version-GCC}
@author Neil Booth
@page
@vskip 0pt plus 1filll
@c man begin COPYRIGHT
-Copyright @copyright{} 2000, 2001, 2002, 2004
+Copyright @copyright{} 2000, 2001, 2002, 2004, 2005
Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
@@ -70,8 +71,8 @@
@top
@chapter Cpplib---the GNU C Preprocessor
-The GNU C preprocessor in GCC 3.x has been completely rewritten. It is
-now implemented as a library, @dfn{cpplib}, so it can be easily shared between
+The GNU C preprocessor is
+implemented as a library, @dfn{cpplib}, so it can be easily shared between
a stand-alone preprocessor, and a preprocessor integrated with the C,
C++ and Objective-C front ends. It is also available for use by other
programs, though this is not recommended as its exposed interface has
Index: doc/gcc.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/gcc.texi,v
retrieving revision 1.66
diff -u -r1.66 gcc.texi
--- doc/gcc.texi 6 Feb 2005 19:37:24 -0000 1.66
+++ doc/gcc.texi 6 Feb 2005 20:17:53 -0000
@@ -78,11 +78,6 @@
@center @titlefont{Using the GNU Compiler Collection}
@sp 2
@center by Richard M. Stallman and the GCC Developer Community
-@sp 3
-@center Last updated 6 February 2005
-@sp 1
-
-@center for GCC @value{version-GCC}
@page
@vskip 0pt plus 1filll
For GCC Version @value{version-GCC}@*
Index: doc/gccint.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/gccint.texi,v
retrieving revision 1.14
diff -u -r1.14 gccint.texi
--- doc/gccint.texi 13 Nov 2004 06:46:45 -0000 1.14
+++ doc/gccint.texi 6 Feb 2005 20:17:53 -0000
@@ -27,7 +27,7 @@
@copying
Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
@@ -64,11 +64,6 @@
@center @titlefont{GNU Compiler Collection Internals}
@sp 2
@center by Richard M. Stallman and the GCC Developer Community
-@sp 3
-@center Last updated 23 May 2004
-@sp 1
-
-@center for GCC @value{version-GCC}
@page
@vskip 0pt plus 1filll
For GCC Version @value{version-GCC}@*
Index: doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.332
diff -u -r1.332 install.texi
--- doc/install.texi 30 Jan 2005 15:36:06 -0000 1.332
+++ doc/install.texi 6 Feb 2005 20:17:55 -0000
@@ -64,7 +64,7 @@
@c Part 2 Summary Description and Copyright
@copying
Copyright @copyright{} 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
@sp 1
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
Index: fortran/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/ChangeLog,v
retrieving revision 1.317
diff -u -r1.317 ChangeLog
--- fortran/ChangeLog 30 Jan 2005 18:34:02 -0000 1.317
+++ fortran/ChangeLog 6 Feb 2005 20:17:57 -0000
@@ -1,3 +1,7 @@
+2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
+
+ * gfortran.texi: Don't give last update date.
+
2006-01-30 Richard Henderson <rth@redhat.com>
* options.c (gfc_init_options): Zero flag_errno_math.
Index: fortran/gfortran.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/gfortran.texi,v
retrieving revision 1.9
diff -u -r1.9 gfortran.texi
--- fortran/gfortran.texi 23 Dec 2004 23:14:23 -0000 1.9
+++ fortran/gfortran.texi 6 Feb 2005 20:17:57 -0000
@@ -1,8 +1,7 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename gfortran.info
-@set last-update 13 May 2004
-@set copyrights-gfortran 1999-2004
+@set copyrights-gfortran 1999-2005
@include gcc-common.texi
@@ -83,10 +82,6 @@
@title Using GNU Fortran 95
@sp 2
@center Steven Bosscher
-@sp 3
-@center Last updated @value{last-update}
-@sp 1
-@center for version @value {version-GCC}
@page
@vskip 0pt plus 1filll
For the @value{version-GCC} Version*
Index: java/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/ChangeLog,v
retrieving revision 1.1545
diff -u -r1.1545 ChangeLog
--- java/ChangeLog 2 Feb 2005 21:09:19 -0000 1.1545
+++ java/ChangeLog 6 Feb 2005 20:18:03 -0000
@@ -1,3 +1,7 @@
+2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
+
+ * gcj.texi: Update copyright dates.
+
2005-02-02 Tom Tromey <tromey@redhat.com>
* gcj.texi (libgcj Runtime Properties): Default library_control
Index: java/gcj.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gcj.texi,v
retrieving revision 1.71
diff -u -r1.71 gcj.texi
--- java/gcj.texi 2 Feb 2005 21:09:25 -0000 1.71
+++ java/gcj.texi 6 Feb 2005 20:18:04 -0000
@@ -10,7 +10,7 @@
@c the word ``Java'.
@c When this manual is copyrighted.
-@set copyrights-gcj 2001, 2002
+@set copyrights-gcj 2001, 2002, 2003, 2004, 2005
@c Versions
@set which-gcj GCC-@value{version-GCC}
Index: treelang/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/ChangeLog,v
retrieving revision 1.101
diff -u -r1.101 ChangeLog
--- treelang/ChangeLog 1 Feb 2005 15:18:30 -0000 1.101
+++ treelang/ChangeLog 6 Feb 2005 20:18:08 -0000
@@ -1,3 +1,8 @@
+2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
+
+ * treelang.texi: Don't use local treelang version number. Don't
+ give last update date.
+
2005-02-01 James A. Morrison <phython@gcc.gnu.org>
* (lex.l): Undef LINEMAP_POSITION_FOR_COLUMN before defining it.
Index: treelang/treelang.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/treelang.texi,v
retrieving revision 1.12
diff -u -r1.12 treelang.texi
--- treelang/treelang.texi 2 Oct 2004 15:18:16 -0000 1.12
+++ treelang/treelang.texi 6 Feb 2005 20:18:08 -0000
@@ -9,10 +9,7 @@
@include gcc-common.texi
-@set version-treelang 2.0
-
-@set last-update 2004-09-28
-@set copyrights-treelang 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
+@set copyrights-treelang 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005
@set email-general gcc@@gcc.gnu.org
@set email-bugs gcc-bugs@@gcc.gnu.org or bug-gcc@@gnu.org
@@ -154,10 +151,6 @@
@end ifclear
@sp 2
@center Tim Josling
-@sp 3
-@center Last updated @value{last-update}
-@sp 1
-@center for version @value{version-treelang}
@page
@vskip 0pt plus 1filll
For the @value{which-treelang} Version*