X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=6cfb0692378d97e715f14ed72b5838ecec6ac250;hp=1d91b8080f01bbd52dcafb25e024503c7de5e22e;hb=7bd8d49ee21cdbc107c8e3eb99a17d636b79dccd;hpb=a95b8e8626615eb84bd4760a0640d13dc1e67bab diff --git a/build.sh b/build.sh index 1d91b80..6cfb069 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -e -PROJVERS=0.0.1 +PROJVERS=0.1 PROJNAME=syp BUILDDIR=${1:-build} @@ -15,7 +15,7 @@ mkdir -p $DESTDIR cp -RLp inc/ $DESTDIR/ # other php files -cp -p admin.*php index.*php wizard.*php api.php items.php logout.php $DESTDIR/ +cp -p admin.*php index.*php upgrade.*php wizard.*php news.php api.php items.php logout.php $DESTDIR/ # media cp -RLp media/ $DESTDIR/ @@ -30,12 +30,10 @@ cp -RLp openlayers/build/OpenLayers.js $DESTDIR/openlayers/ # openlayers images mkdir $DESTDIR/openlayers/img for file in east-mini.png \ - marker-gold.png \ north-mini.png \ + blank.gif \ west-mini.png \ zoom-plus-mini.png \ - marker-blue.png \ - marker-green.png \ south-mini.png \ zoom-minus-mini.png \ zoom-world-mini.png; do @@ -60,8 +58,8 @@ done cp -p license.txt README.txt COPYING.txt $DESTDIR/ # creates upload directory -mkdir $DESTDIR/upload -chmod a+wx $DESTDIR/upload +mkdir -p $DESTDIR/upload/_thumbs +chmod -R a+wx $DESTDIR/upload # generate sources cd $BUILDDIR