Newer
Older
tdir / mktdir
#!/bin/sh
# $Id: mktdir,v 1.6 2012/06/09 17:37:26 tundra Exp $

FILES="Makefile tdir.1 tdir tdir.bat tdir-license.txt"
DIR="tdir-"$1

if [ $# -ne 1 ]
    then
	echo "usage: mktdir version-number"
	exit
fi

mkdir $DIR
co -r$1 $FILES
gzip tdir.1
mv $FILES $DIR
cvs log tdir >$DIR/CHANGELOG
mv tdir.1.gz $DIR
tar -czvf $DIR.tar.gz $DIR
rm -rf $DIR