package.sh improved

This commit is contained in:
Grégory Soutadé 2010-08-20 21:40:28 +02:00
parent 75dfe39a03
commit 8977c820fc

View File

@ -11,8 +11,9 @@ make clean
fi
make || (echo "Compilation failed" ; exit 1)
mkdir -p $DIR/lib
cp -r kc lib/freechart/lib/* lib/wxsqlite3-1.9.9/lib/* $DIR/lib
cp -r kc init.sql ressources launch_kc.sh TODO CONTRIBUTORS COPYING README README.fr $DIR
find $DIR -type f -exec strip \{\} \;
cp -r lib/freechart/lib/* lib/wxsqlite3-1.9.9/lib/* $DIR/lib
cp -r kc init.sql ressources tools/launch_kc.sh TODO CONTRIBUTORS COPYING README README.fr $DIR
tar -jcf $FILE $DIR
rm -rf $DIR
echo "Packaged !"