public
Description: Screenplay writing program
Homepage: http://www.oskusoft.com
Clone URL: git://github.com/oskusalerma/blyte.git
blyte / gen_linux_dist.sh
100755 19 lines (14 sloc) 0.448 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
 
VER=$(grep 'misc.version =' blyte.py | cut -b24- | perl -pe 's/"//g;')
DIR="linux-dist/blyte-$VER"
 
./compile_all.sh
 
rm -rf linux-dist
mkdir -p $DIR
 
cp blyte data.dat icon16.png icon32.png logo.jpg names.dat sample.blyte manual.pdf fileformat.txt license.txt INSTALL $DIR
cp Makefile.install $DIR/Makefile
cd linux-dist
tar cvf "blyte-$VER.tar" "blyte-$VER"
gzip -9 "blyte-$VER.tar"
mv "blyte-$VER.tar.gz" ..
cd ..
rm -rf linux-dist