gnu.cvs.help
[Top] [All Lists]

Adding copyright to all files automatically when added for the first tim

Subject: Adding copyright to all files automatically when added for the first time.
From: "K V Manoj Kumar"
Date: Fri, 30 May 2008 12:47:42 +0530
Newsgroups: gnu.cvs.help
Hi All,
 
   I have a small problem where I want to add some content(say Copyright) to all the files which are added for the first time.
 
   I can copy the copyright content manually to all new files but this is tedious manual task and even if the copyright changes,
   its a big problem to update all the files.
 
   So is there a way to add something like $copyright in the new file and it will be substituted from a file automatically when a new
   file is added to the CVS.
   (example : $copyright - defined copyright.h)
 
   $Id means it adds the user name who modified the file each time :) So I want something like that.
 
Thanks,
Manoj
<Prev in Thread] Current Thread [Next in Thread>
  • Adding copyright to all files automatically when added for the first time., K V Manoj Kumar <=