X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=764f1c6d708bf249107f78f7c4ff09020656f82c;hp=b51f8fb59ed7126484e2c2f47d7ffb74d9f9976b;hb=9acc365249b5e630da6b5cdd23e3a8015f39ddc7;hpb=7a8818d6a3dba51ca8dfc4142488a139618dfdb0 diff --git a/build.sh b/build.sh index b51f8fb..764f1c6 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 api.php items.php logout.php wizard.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/ @@ -32,6 +32,7 @@ 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 \ @@ -60,8 +61,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