comparison: mkdist
mkdist
- changeset 129
- 188ec4899791
- child 130
- 570d032040ab
equal
deleted
inserted
replaced
|
1 #!/bin/sh |
|
2 RELEASE=$1 |
|
3 PWD=`pwd` |
|
4 R_NAME="openslot-$RELEASE" |
|
5 R_DIR="dist/$R_NAME" |
|
6 |
|
7 |
|
8 cd $PWD/blackbox |
|
9 make clean |
|
10 cd $PWD/pitlane |
|
11 make clean |
|
12 cd $PWD/slotUI |
|
13 rm *.pyc |
|
14 |
|
15 cd $PWD |
|
16 rmdir -f dist |
|
17 mkdir -p $R_DIR |
|
18 |
|
19 cp blackbox $R_DIR |
|
20 cp pitlane $R_DIR |
|
21 cp slotUI $R_DIR |
|
22 echo -e "OpenSlot.de\nCustom Firmware and hardware mod\n\nPublic release version $RELEASE\n$DAT" > $R_DIR/README |
|
23 cp LICENSE $R_DIR |
|
24 |
|
25 cd $PWD/slotUI |
|
26 rm -f quake-sound |
|
27 |
|
28 cd $PWD/dist |
|
29 tar -cz $R_NAME/* >$R_NAME.tar.gz |
|
30 |
|
31 ls -al |