Add version when packaging and update INSTALL
This commit is contained in:
parent
37b4dabbe1
commit
b0ecbe7b89
2
INSTALL
2
INSTALL
|
@ -13,7 +13,7 @@ php5
|
||||||
|
|
||||||
** Compilation of extra libraries **
|
** Compilation of extra libraries **
|
||||||
|
|
||||||
lib is not included by default and must be downloaded into download section
|
lib is not included by default and must be downloaded http://indefero.soutade.fr/p/kisscount/downloads/
|
||||||
|
|
||||||
cd lib/wxsqlite3-1.9.9
|
cd lib/wxsqlite3-1.9.9
|
||||||
./configure
|
./configure
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
DATE=`date +%d.%m.%Y`
|
DATE=`date +%d.%m.%Y`
|
||||||
ARCH=`uname -m`
|
ARCH=`uname -m`
|
||||||
DIR="KissCount_build_${DATE}_${ARCH}"
|
VERSION=`cat src/controller/KissCount.h | grep APP_VERSION | cut -d\" -f2`
|
||||||
|
DIR="KissCount_build_${VERSION}_${DATE}_${ARCH}"
|
||||||
FILE="$DIR.tar.bz2"
|
FILE="$DIR.tar.bz2"
|
||||||
|
|
||||||
rm -f $FILE
|
rm -f $FILE
|
||||||
|
@ -12,7 +13,7 @@ make clean
|
||||||
fi
|
fi
|
||||||
make || (echo "Compilation failed" ; exit 1)
|
make || (echo "Compilation failed" ; exit 1)
|
||||||
mkdir -p $DIR/lib
|
mkdir -p $DIR/lib
|
||||||
cp -r lib/freechart/lib/* lib/wxsqlite3-1.9.9/lib/* $DIR/lib
|
cp -r lib/freechart/lib/*.so* lib/wxsqlite3-1.9.9/lib/*.so* $DIR/lib
|
||||||
cp -r kc init.sql ressources tools/launch_kc.sh TODO CONTRIBUTORS COPYING README README.fr www $DIR
|
cp -r kc init.sql ressources tools/launch_kc.sh TODO CONTRIBUTORS COPYING README README.fr www $DIR
|
||||||
find $DIR -type f -executable -exec strip \{\} \;
|
find $DIR -type f -executable -exec strip \{\} \;
|
||||||
tar -jcf $FILE $DIR
|
tar -jcf $FILE $DIR
|
||||||
|
|
Loading…
Reference in New Issue
Block a user