[mapserver-commits] r10386 - in branches/branch-5-6/docs: . scripts
svn at osgeo.org
svn at osgeo.org
Fri Jul 23 12:09:45 EDT 2010
Author: hobu
Date: 2010-07-23 16:09:45 +0000 (Fri, 23 Jul 2010)
New Revision: 10386
Added:
branches/branch-5-6/docs/scripts/
branches/branch-5-6/docs/scripts/build_docs.sh
Log:
start on build script for mapserver.org
Added: branches/branch-5-6/docs/scripts/build_docs.sh
===================================================================
--- branches/branch-5-6/docs/scripts/build_docs.sh (rev 0)
+++ branches/branch-5-6/docs/scripts/build_docs.sh 2010-07-23 16:09:45 UTC (rev 10386)
@@ -0,0 +1,24 @@
+
+args=("$@")
+LOCATION=${args[0]}
+SVN_BRANCH=${args[1]}
+
+#LOCATION="/osgeo/mapserver.org"
+LANGUAGES="en de"
+cd $LOCATION/$SVN_BRANCH
+svn up
+
+cd $LOCATION/$SVN_BRANCH
+make html
+make latex
+make epub
+cd $LOCATION/$SVN_BRANCH/build/latex
+for lang in $LANGUAGES;
+do
+ cd $LOCATION/$SVN_BRANCH/build/latex/$lang
+ make all-pdf
+ cp MapServer.pdf $LOCATION/htdocs/$lang
+ cp -r $LOCATION/$SVN_BRANCH/build/html/$lang $LOCATION/htdocs/
+done
+
+cp $LOCATION/$SVN_BRANCH/build/epub/en/MapServer.epub $LOCATION/htdocs/en
Property changes on: branches/branch-5-6/docs/scripts/build_docs.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the mapserver-commits
mailing list