#!/bin/sh set -e [ -z "$1" ] && echo "Usage: $(basename $0) VERSION." && exit 1 VERSION=$1 DIR=teleschorsch-$1 [ ! -f Makefile ] || make distclean mkdir -p $DIR cp teleschorsch.1 *.cpp *.h *.ui *.sh *.pl *.pro teleschorschrc *.png *.ts *.qrc $DIR/ svn up #svn log -v > $DIR/ChangeLog svn2cl --authors=AUTHORS --stdout --group-by-day > $DIR/ChangeLog tar cfz $DIR.tar.gz $DIR/ rm -rf $DIR echo "Voilą: $DIR.tar.gz"