#!/bin/sh # $Id: mkwaccess,v 1.6 2012/05/25 20:22:00 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 rlog 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