Version only set for actual program. Other files are checed out as 'latest'.
Automatically delete working directory and copy tarball to Releases directory.
1 parent e2fdbcb commit 7b95daf70d52bad1a4c46db417709eeccf40fdc0
@tundra tundra authored on 4 Sep 2002
Showing 1 changed file
View
18
mkabck
#!/bin/sh
# $Id: mkabck,v 1.7 2001/07/27 07:11:48 tundra Exp $
# $Id: mkabck,v 1.8 2002/09/04 19:24:31 tundra Exp $
 
FILES="abck Makefile abck.1 abck-License.txt"
RFILES="abck"
FILES="Makefile abck.1 abck-License.txt"
 
DIR="abck-"$1
 
if [ $# -ne 1 ]
then
exit
fi
 
mkdir $DIR
co -r$1 $FILES
co -r$1 $RFILES
co $FILES
gzip *.1
mv $FILES $DIR
mv $RFILES $FILES $DIR
mv *.gz $DIR
rlog abck >$DIR/CHANGELOG.abck
 
tar -czvf $DIR.tar.gz $DIR
rm -rf $DIR
mv $DIR.tar.gz Releases