diff 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
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Thu Mar 06 18:19:01 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Thu Mar 06 18:45:40 2014 +0100
@@ -239,6 +239,14 @@
     cp "$METADATA_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/meta-data.xml
 fi
 
+if [ -r "$MODULES_XML" ]; then
+    cp "$MODULES_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/modules.xml
+fi
+
+if [ -r "$ZOOMSCALES_XML" ]; then
+    cp "$ZOOMSCALES_XML" $FLYS_SOURCE_DIR/river/artifacts/doc/conf/zoom-scales.xml
+fi
+
 if [ ! -f $FLYS_SOURCE_DIR/OpenLayers-2.11.tar.gz ]; then
     echo "INFO: download OpenLayers-2.11 for client"
     cd $FLYS_SOURCE_DIR

http://dive4elements.wald.intevation.org