comparison contrib/make_flys_release/make_release.sh @ 7804:5bb3f5d41d48

Add extra config files for modules and zoom scales and give option to use custom files for release.
author Tom Gottfried <tom@intevation.de>
date Thu, 06 Mar 2014 18:45:40 +0100
parents 1431d1af84d7
children 56870a7d9811
comparison
equal deleted inserted replaced
7803:472ff9ea5708 7804:5bb3f5d41d48
237 237
238 if [ -r "$METADATA_XML" ]; then 238 if [ -r "$METADATA_XML" ]; then
239 cp "$METADATA_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/meta-data.xml 239 cp "$METADATA_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/meta-data.xml
240 fi 240 fi
241 241
242 if [ -r "$MODULES_XML" ]; then
243 cp "$MODULES_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/modules.xml
244 fi
245
246 if [ -r "$ZOOMSCALES_XML" ]; then
247 cp "$ZOOMSCALES_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/zoom-scales.xml
248 fi
249
242 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then 250 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
243 echo "INFO: download OpenLayers-2.11 for client" 251 echo "INFO: download OpenLayers-2.11 for client"
244 cd $FLYS_SOURCE_DIR 252 cd $FLYS_SOURCE_DIR
245 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz 253 curl -O http://openlayers.org/download/OpenLayers-2.11.tar.gz
246 tar xvfz OpenLayers-2.11.tar.gz 254 tar xvfz OpenLayers-2.11.tar.gz

http://dive4elements.wald.intevation.org