- #!/bin/sh
- # $Id: mkmailfmt,v 1.3 2012/06/09 17:42:01 tundra Exp $
- RFILES="mailfmt"
- FILES="Makefile mailfmt.1 mailfmt.txt mailfmt-license.txt"
- DIR="mailfmt-"$1
- if [ $# -ne 1 ]
- then
- echo "usage: mkmailfmt version-number"
- exit
- fi
- mkdir $DIR
- co -r$1 $RFILES
- co $FILES
- gzip *.1
- mv $RFILES $FILES $DIR
- mv *.gz $DIR
- cvs log mailfmt >$DIR/CHANGELOG.mailfmt
- tar -czvf $DIR.tar.gz $DIR
- rm -rf $DIR
- mv $DIR.tar.gz Releases