[RFA] gdb/copyright.py: Add generated files in gnulib/ to exclude list (was: "Re: [PATCH] gnulib: import count-one-bits module and use it")
Joel Brobecker
brobecker@adacore.com
Mon Feb 24 08:25:00 GMT 2020
Hi Simon,
On Fri, Feb 14, 2020 at 02:43:08PM -0500, Simon Marchi wrote:
> On 2020-02-14 5:35 a.m., Luis Machado wrote:
> >> --- a/gnulib/Makefile.in
> >> +++ b/gnulib/Makefile.in
> >> @@ -1,7 +1,7 @@
> >> Â # Makefile.in generated by automake 1.15.1 from Makefile.am.
> >> Â # @configure_input@
> >> Â -# Copyright (C) 1994-2020 Free Software Foundation, Inc.
> >> +# Copyright (C) 1994-2017 Free Software Foundation, Inc.
> >
> > The year interval was reverted. Is that a problem?
>
> Not really. The year was changed to 2020 by commit:
>
> Update copyright year range in all GDB files.
> b811d2c2920ddcb1adcd438da38e90912b31f45f
>
> which updates the copyright years in all of GDB source files at the
> beginning of year. The commit shouldn't have touched this file
> though, as it's a generated file.
Indeed. Here is a patch which adjusts the script doing the update
to exclude those files.
gdb/ChangeLog:
* copypright.py (EXCLUDE_LIST): Add 'gnulib/config.in' and
'gnulib/Makefile.in' to the list.
OK to push to master?
Thanks!
--
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdb-copyright.py-Add-generated-files-in-gnulib-to-ex.patch
Type: text/x-diff
Size: 1072 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20200224/45c6feb5/attachment.bin>
More information about the Gdb-patches
mailing list