#!/bin/bash
# Creates or updates ChangeLog file. Only for developers.

# We assume that CVS_RSH is already set (export CVS_RSH=ssh)
# and we are in a CVS downloaded directory of XaoS.

cd ..
echo "ChangeLog file for XaoS - generated automatically by tools/mkChangeLog.
Please do not edit this file: your changes will be lost.

" > ChangeLog
rcs2log -i 0 | sed s/"\/cvsroot\/xaos\/XaoS\/"/""/g |\
 sed s/\<[a-z0-9]*@[a-z0-9]*\>\$//g >> ChangeLog
cvs commit -m "Automatic update by mkChangeLog" ChangeLog
