This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype: emit a more appropriate copyright year in generated files.
On Wed, 5 Jan 2011, Laurynas Biveinis wrote:
> IIRC even a patch to shorten "1994, 1995, 1996, 1997" to "1994--1997"
> etc. was rejected for some reason.
GNU policy was only recently amended to allow ranges, and only if there is
a special statement in the package's README saying what they mean. If we
wish to use them then we should change all of GCC at once (and maybe
change to update all files at the start of the year - also permitted by
GNU policy - so updates don't need remembering at any other time).
Regarding generated files, GNU policy says "When a file is automatically
generated from some other file in the distribution, it is useful for the
automatic procedure to copy the copyright notice and permission notice of
the file it is generated from, if possible. Alternatively, put a notice at
the beginning saying which file it is generated from.". But I don't think
this applies to files only used in the build process, such as those
generated by gengtype; only to those that are actually included in the
source distribution or installed.
--
Joseph S. Myers
joseph@codesourcery.com