On Mon, 22 Mar 2010 18:37:49 +0100 Xavier Grave wrote:
> ----------------original message-----------------
> De: "Tero Koskinen" [email protected]
> >> Thanks for this advice, I will try to find an easy way to add the
> copyright
> >> notice in all the files.
> > 
> > It is probably the best if you can make upstream authors to do that.
> > In that way they most likely get all the details (copyright years,
> > author names, email addresses, etc.) correct.
> 
> OK, I'll do that : make the upstream author to do that. Unfortunately I'm
> the upstream author :)

Oh, okay then. :)

You can probably loop over source files and add common header either
at the beginning of the file or at the end.

for a in src/*.ads src/*.adb;do
  cp $a $a.backup
  cat header_template.txt $a > tmpfile
  mv tmpfile $a
done

GNU.org has some guidance about the header format in the GPL:
http://www.gnu.org/licenses/gpl-2.0.html#SEC4

I believe other projects and other licenses have similar
guidelines.

-- 
Tero Koskinen <[email protected]>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to