Newer
Older
waccess / mkwaccess
#!/bin/sh
# $Id: mkwaccess,v 1.7 2012/05/25 20:34:15 tundra Exp $

FILES="Makefile waccess waccess.1.gz waccess-license.txt"
DIR="waccess-"$1

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

# Make sure target directories exist

mkdir $DIR Releases


# Create release package

gzip -c waccess.1 >waccess.1.gz
cp -pv $FILES $DIR
cvs log waccess >$DIR/CHANGELOG.waccess


# Create tarball and move to the releases directory

tar -czvf $DIR.tar.gz $DIR
rm -rf $DIR
mv $DIR.tar.gz Releases