From b0b297bccd67cefe76ce21e172dc9c4c68c4cfca Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 25 Feb 2011 19:06:58 +0000 Subject: [PATCH] Update the dev dir building script to take the '?mobile' flagged .js files and use the mobile OL build on them. git-svn-id: http://svn.openlayers.org/trunk/openlayers@11538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tools/update_dev_dir.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/update_dev_dir.sh b/tools/update_dev_dir.sh index c0a2b57bc7..ea8c682426 100755 --- a/tools/update_dev_dir.sh +++ b/tools/update_dev_dir.sh @@ -19,14 +19,18 @@ if [ ! o$REV = $OLD_REV ]; then python exampleparser.py cd /osgeo/openlayers/docs/dev/build ./build.py -c closure tests.cfg + ./build.py -c closure mobile.cfg OpenLayers.mobile.js cp OpenLayers.js .. + cp OpenLayers.mobile.js .. + cd .. for i in google ie6-style style; do csstidy theme/default/$i.css --template=highest theme/default/$i.tidy.css cp theme/default/$i.tidy.css theme/default/$i.css done + sed -i -e 's!../lib/OpenLayers.js\?mobile!../OpenLayers.mobile.js!' examples/*.html sed -i -e 's!../lib/OpenLayers.js!../OpenLayers.js!' examples/*.html naturaldocs -i /osgeo/openlayers/docs/dev/lib -o HTML /osgeo/openlayers/dev/apidocs -p /osgeo/openlayers/docs/dev/apidoc_config -s Default OL >/dev/null naturaldocs -i /osgeo/openlayers/docs/dev/lib -o HTML /osgeo/openlayers/dev/docs -p /osgeo/openlayers/docs/dev/doc_config -s Default OL >/dev/null