X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=b51f8fb59ed7126484e2c2f47d7ffb74d9f9976b;hp=fbbd7ffbc1619611a5882cb402ca87f7a144ad22;hb=7a8818d6a3dba51ca8dfc4142488a139618dfdb0;hpb=57511b4efd7402ef58de66ac1fe2c01ed1b1d7b5 diff --git a/build.sh b/build.sh index fbbd7ff..b51f8fb 100755 --- a/build.sh +++ b/build.sh @@ -15,7 +15,7 @@ mkdir -p $DESTDIR cp -RLp inc/ $DESTDIR/ # other php files -cp -p admin.php api.php index.php items.php logout.php wizard.php $DESTDIR/ +cp -p admin.*php index.*php api.php items.php logout.php wizard.php $DESTDIR/ # media cp -RLp media/ $DESTDIR/ @@ -26,8 +26,25 @@ 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 \ + 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/