dist script added

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
parent 128
be47571ed2fd
child 130
570d032040ab

dist script added

mkdist file | annotate | diff | comparison | revisions
--- /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

mercurial