# HG changeset patch # User Malte Bayer # Date 1355943509 -3600 # Node ID 188ec489979143e8a6f31064fe26f8ce24c6e0ad # Parent be47571ed2fdc778f5ca8078bbf4c4956f0e6667 dist script added diff -r be47571ed2fd -r 188ec4899791 mkdist --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mkdist Wed Dec 19 19:58:29 2012 +0100 @@ -0,0 +1,31 @@ +#!/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