X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=d6c6a28138156a8b0e14fd6cd5071ad79877f132;hp=92873f5c42bf98cf87b758e781df60e00ba2653e;hb=ae3851e4befcc7f6bee6d161dc77ac2e4e9c6515;hpb=7282fabcfef34ef95b8c6bd414f34d77037451e1 diff --git a/build.sh b/build.sh index 92873f5..d6c6a28 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 auth.php changes.php index.php items.php wizard.php $DESTDIR/ +cp -p admin.*php index.*php wizard.*php news.php api.php items.php logout.php $DESTDIR/ # media cp -RLp media/ $DESTDIR/ @@ -26,8 +26,26 @@ cd openlayers/build/ python build.py ../../syp.cfg cd ../../ cp -RLp openlayers/build/OpenLayers.js $DESTDIR/openlayers/ -cp -RLp openlayers/img/ $DESTDIR/openlayers/ -cp -RLp openlayers/theme/ $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 + cp -p openlayers/img/$file $DESTDIR/openlayers/img +done +# openlayers theme +mkdir -p $DESTDIR/openlayers/theme/default/img +cp -Lp openlayers/theme/default/style.css $DESTDIR/openlayers/theme/default/style.css +cp -RLp openlayers/theme/default/img/close.gif $DESTDIR/openlayers/theme/default/img # other javascript cp -RLp js/ $DESTDIR/