@version tags and CVS

how does one set up CVS to auto generate version information for code that contains @version %I% tags?
[109 byte] By [toddela] at [2007-9-28 15:16:58]
# 1
@version $Revision$When it gets into CVS it will become something like this: * @version $Revision: 1.15 $ * @created $Date: 2003/03/21 09:04:30 $
v.pavlova at 2007-7-12 12:03:33 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...