#!/bin/sh # $Id: mktdir,v 1.7 2014/02/12 17:45:15 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 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