#!/bin/sh
# Maintainer: Thomas GOIRAND <thomas@goirand.fr>
# please do not ship with you packages
# this is only a small coder tool...
#

VERS=`cat version`
RELS=`cat release`
VERSION=$VERS"-"$RELS
PKG_NAME=sbox-dtc
PKG_FOLDER="CVS_"$PKG_NAME"_"$VERSION"_all"

echo " --- Making the "$PKG_NAME" CVS snapshot archive --- "
./cls
mkdir -p $PKG_FOLDER
cp -rf * $PKG_FOLDER
tar -czf "CVS_"$PKG_NAME"_"$VERSION"_all.tar.gz" $PKG_FOLDER
echo " --- Succesfully made CVS_"$PKG_NAME"_"$VERSION"_all.tar.gz ---"

