meglio
[brisk-img.git] / INSTALL.sh
index ef1eb0a..f093474 100755 (executable)
@@ -13,7 +13,9 @@ fi
 
 function usage () {
     echo
+    echo "$1 [-p|--package]"
     echo "$1 [-n 3|5] [-w web_dir] [-k <ftok_dir>] [-W]"
+    echo "  -p build \"binary\" version of the package"
     echo "  -h this help"
     echo "  -n number of players - def. $n_players"
     echo "  -w dir where place the web tree - def. \"$web_path\""
@@ -41,7 +43,7 @@ function get_param () {
 #
 if [ "$1" = "-p" -o "$1" = "--package" ]; then
    cd ..
-   tar zcvf brisk-img.tgz `find brisk-img -name INSTALL.sh -o -name '*.png' -o -name '*.jpg' | grep -v imgsrc`
+   tar zcvf brisk-img.tgz `find brisk-img -name INSTALL.sh -o -name '*.png' -o -name '*.jpg' -o -name '*.gif' | grep -v imgsrc`
    cd -
    exit 0
 fi
@@ -69,6 +71,6 @@ echo "    n_players:   $n_players"
 
 
 install -d ${web_path}/img
-install -m 644 `ls img/*.{jpg,png} | grep -v 'img/src_'` ${web_path}/img
+install -m 644 `ls img/*.{jpg,png,gif} | grep -v 'img/src_'` ${web_path}/img
 
 exit 0