Re: [RFA/doco 3/3] Document new procedure for updating copyright years

Joel Brobecker
2012-01-05T03:34:31Z

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

> > gdb/doc/ChangeLog:
> >
> > * gdbint.texinfo (Start of New Year Procedure): Update
> > to replace use of copyright.sh by use of copyright.py.
> >
> > OK to commit?
[...]
> Should we tell which versions of Python are required to run the
> script, like the old text said about Emacs?

Ah, yes. I had intended to provide that piece of information as well.
How is this version?

Thanks,
--
Joel

[-- Attachment #2: copyright-update-doco-2.diff --]
[-- Type: text/x-diff, Size: 1477 bytes --]

commit 8d1049fbf448557887daa7497e3c60b103ecedee
Author: Joel Brobecker <brobecker@adacore.com>
Date: Wed Jan 4 11:50:00 2012 +0400

Document new procedure for updating copyright years

We now use a different script to perform the update. This patch
updates the procedure in our documentation

gdb/doc/ChangeLog:

* gdbint.texinfo (Start of New Year Procedure): Update
to replace use of copyright.sh by use of copyright.py.

diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index ddc4015..136f77f 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -6798,35 +6798,9 @@ Update the copyright year in:
@end itemize

@item
-Run the @file{copyright.sh} script to add the new year in the copyright
-notices of most source files. This script requires Emacs 22 or later to
-be installed.
-
-@item
-The new year also needs to be added manually in all other files that
-are not already taken care of by the @file{copyright.sh} script:
-@itemize @bullet
- @item
- @file{*.s}
- @item
- @file{*.f}
- @item
- @file{*.f90}
- @item
- @file{*.igen}
- @item
- @file{*.ac}
- @item
- @file{*.texi}
- @item
- @file{*.texinfo}
- @item
- @file{*.tex}
- @item
- @file{*.defs}
- @item
- @file{*.1}
-@end itemize
+Run the @file{copyright.py} Python script to add the new year in the copyright
+notices of most source files. This script has been tested with Python
+2.6 and 2.7.

@end itemize