#!/bin/sh # Build a release of twander # $Id: mktwander,v 1.3 2002/12/13 21:55:45 tundra Exp $ PROGFILE="twander.py" SUPPFILES="Makefile twander.1 twander-license.txt .twander" DOCFILES="twander.txt twander.html" DIR="twander-"$1 if [ $# -ne 1 ] then echo "usage: mktwander version-number" exit fi mkdir $DIR co -r$1 $PROGFILE co $SUPPFILES groff -man -Tascii twander.1 | col -xb >twander.txt groff -man -Thtml twander.1 >twander.html chmod u+w *txt flip -vm *txt gzip *.1 mv $PROGFILE $SUPPFILES $DOCFILES $DIR mv *.gz $DIR rlog twander.py >$DIR/CHANGELOG.twander tar -czvf $DIR.tar.gz $DIR #rm -rf $DIR #mv $DIR.tar.gz Releases