Newer
Older
hb / mkhb
@tundra tundra on 9 Jun 2012 439 bytes Updated to CVS form of log extraction.
#!/bin/sh
# $Id: mkhb,v 1.8 2012/06/09 17:35:40 tundra Exp $

FILES="Makefile hb.py hb.txt hb.1 \
       0-StartHere.txt \
       1-HB-License.txt \
       2-HowToUse.txt \
       3-UnderTheHood.txt \
       4-Limitations-Enhancements.txt"

DIR="hb-"$1

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

mkdir $DIR
co -r$1 $FILES
mv $FILES $DIR
cvs log hb.py >$DIR/CHANGELOG
gzip $DIR/hb.1
tar -czvf hb-$1.tar.gz hb-$1