This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Copyright notices


On Sat, Feb 11, 2006 at 09:18:03PM +0200, Eli Zaretskii wrote:
> > Date: Sat, 11 Feb 2006 14:07:44 -0500
> > From: Daniel Jacobowitz <drow@false.org>
> > 
> > Well, what I'd do would be shell-script the above: have a script print
> > out a list of files, and remove certain others, based on a manually
> > defined list.
> 
> If the exclude list is manually defined, Emacs could use it directly.

OK.  I don't know the first thing about Emacs scripting :-)  So I think
I'll defer to you on this...

> > (That could just be one big invocation of GNU "find").
> 
> Emacs already has a command to run `find' and present the results in a
> Dired-style buffer.

Gotcha.

> > Of course, there will still be a list of places that need to be
> > updated by hand (including gdbarch.sh and the texinfo manuals,
> > probably).
> 
> What is special about Texinfo files?  The fact that Copyright appears
> there in several different places? or did you mean something else?

Right; I just figured that the in-text copyrights would have to be
updated by hand even if we auto-updated the one at the top of the
file.  Maybe that's not right.

On Sat, Feb 11, 2006 at 02:20:51PM -0500, Bob Rossi wrote:
> Of course, instead, you could use grep to look for files that 'find'
> produced and search for "Copyright (C)" to know what files should be
> updated. That way, you don't have to store a list of files that needs to
> be maintained.

No, you want to have an exclusion list rather than inclusion - you
don't want to manually futz with the copyright header in an
autoconf-generated script, for instance.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]