|
Revision 4928, 0.8 kB
(checked in by crschmidt, 10 months ago)
|
Update release building script to build naturaldocs.
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/sh |
|---|
| 2 |
|
|---|
| 3 |
VERSION=$1 |
|---|
| 4 |
|
|---|
| 5 |
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION |
|---|
| 6 |
cd OpenLayers-$VERSION/build |
|---|
| 7 |
./build.py full |
|---|
| 8 |
cp OpenLayers.js .. |
|---|
| 9 |
|
|---|
| 10 |
cd .. |
|---|
| 11 |
|
|---|
| 12 |
mkdir doc/devdocs |
|---|
| 13 |
mkdir doc/apidocs |
|---|
| 14 |
rm tools/*.pyc |
|---|
| 15 |
|
|---|
| 16 |
mkdir /www/openlayers/htdocs/api/$VERSION |
|---|
| 17 |
cp OpenLayers.js /www/openlayers/htdocs/api/$VERSION |
|---|
| 18 |
cp -a img/ /www/openlayers/htdocs/api/$VERSION |
|---|
| 19 |
cp -a theme/ /www/openlayers/htdocs/api/$VERSION |
|---|
| 20 |
|
|---|
| 21 |
cd .. |
|---|
| 22 |
|
|---|
| 23 |
~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/devdocs -p OpenLayers-$VERSION/doc_config -s Small OL |
|---|
| 24 |
~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/apidocs -p OpenLayers-$VERSION/apidoc_config -s Small OL |
|---|
| 25 |
|
|---|
| 26 |
tar cvfz OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION/ |
|---|
| 27 |
zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION/ |
|---|
| 28 |
|
|---|
| 29 |
cp OpenLayers-$VERSION.* /www/openlayers/htdocs/download |
|---|