[mapserver-commits] r10387 - branches/branch-5-6/docs/scripts

svn at osgeo.org svn at osgeo.org
Fri Jul 23 12:34:27 EDT 2010


Author: hobu
Date: 2010-07-23 16:34:26 +0000 (Fri, 23 Jul 2010)
New Revision: 10387

Added:
   branches/branch-5-6/docs/scripts/clean.sh
Modified:
   branches/branch-5-6/docs/scripts/build_docs.sh
Log:
more updates to doc building process

Modified: branches/branch-5-6/docs/scripts/build_docs.sh
===================================================================
--- branches/branch-5-6/docs/scripts/build_docs.sh	2010-07-23 16:09:45 UTC (rev 10386)
+++ branches/branch-5-6/docs/scripts/build_docs.sh	2010-07-23 16:34:26 UTC (rev 10387)
@@ -2,6 +2,7 @@
 args=("$@")
 LOCATION=${args[0]}
 SVN_BRANCH=${args[1]}
+OUTPUT_LOCATION=${args[2]}
 
 #LOCATION="/osgeo/mapserver.org"
 LANGUAGES="en de"
@@ -15,10 +16,11 @@
 cd $LOCATION/$SVN_BRANCH/build/latex
 for lang in $LANGUAGES;
 do
+	mkdir -p $OUTPUT_LOCATION/$lang/
 	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/
+	cp MapServer.pdf $OUTPUT_LOCATION/$lang/
+        cp -r $LOCATION/$SVN_BRANCH/build/html/$lang $OUTPUT_LOCATION/
 done
 
-cp $LOCATION/$SVN_BRANCH/build/epub/en/MapServer.epub $LOCATION/htdocs/en
+cp $LOCATION/$SVN_BRANCH/build/epub/en/MapServer.epub $OUTPUT_LOCATION/en/MapServer.epub

Copied: branches/branch-5-6/docs/scripts/clean.sh (from rev 10386, branches/branch-5-6/docs/scripts/build_docs.sh)
===================================================================
--- branches/branch-5-6/docs/scripts/clean.sh	                        (rev 0)
+++ branches/branch-5-6/docs/scripts/clean.sh	2010-07-23 16:34:26 UTC (rev 10387)
@@ -0,0 +1,9 @@
+
+args=("$@")
+LOCATION=${args[0]}
+SVN_BRANCH=${args[1]}
+
+LANGUAGES="en de"
+
+cd $LOCATION/$SVN_BRANCH
+make clean



More information about the mapserver-commits mailing list