mkdist

Wed, 19 Dec 2012 19:58:29 +0100

author
Malte Bayer <mbayer@neo-soft.org>
date
Wed, 19 Dec 2012 19:58:29 +0100
changeset 129
188ec4899791
child 130
570d032040ab
permissions
-rwxr-xr-x

dist script added

#!/bin/sh
RELEASE=$1
PWD=`pwd`
R_NAME="openslot-$RELEASE"
R_DIR="dist/$R_NAME"


cd $PWD/blackbox
make clean
cd $PWD/pitlane
make clean
cd $PWD/slotUI
rm *.pyc

cd $PWD
rmdir -f dist
mkdir -p $R_DIR

cp blackbox $R_DIR
cp pitlane $R_DIR
cp slotUI $R_DIR
echo -e "OpenSlot.de\nCustom Firmware and hardware mod\n\nPublic release version $RELEASE\n$DAT" > $R_DIR/README
cp LICENSE $R_DIR

cd $PWD/slotUI
rm -f quake-sound

cd $PWD/dist
tar -cz $R_NAME/* >$R_NAME.tar.gz

ls -al

mercurial