[mapserver-commits] r9741 - branches/branch-5-6/docs
svn at osgeo.org
svn at osgeo.org
Mon Jan 25 02:30:48 EST 2010
Author: gislars
Date: 2010-01-25 02:30:48 -0500 (Mon, 25 Jan 2010)
New Revision: 9741
Modified:
branches/branch-5-6/docs/make.bat
Log:
added init target to make.bat (copy untranslated files)
Modified: branches/branch-5-6/docs/make.bat
===================================================================
--- branches/branch-5-6/docs/make.bat 2010-01-25 07:28:42 UTC (rev 9740)
+++ branches/branch-5-6/docs/make.bat 2010-01-25 07:30:48 UTC (rev 9741)
@@ -4,8 +4,9 @@
REM using delayed expansion of variables...
setlocal enableextensions enabledelayedexpansion
-REM ...to get a list of directories to be processed
-FOR /D %%i IN ("??") do (SET LANGUAGES=!LANGUAGES! %%i)
+REM ...build a list of directories to be processed (language directories)
+SET TRANSLATIONS=de
+SET LANGUAGES=en %TRANSLATIONS%
set SPHINXBUILD=sphinx-build
set ALLSPHINXOPTS= -d _build/doctrees/%%L -c . -A language=%%L -D language=%%L -A languages="%LANGUAGES%"
@@ -18,6 +19,7 @@
if "%1" == "help" (
:help
echo.Please use `make ^<target^>` where ^<target^> is one of
+ echo. init to preprocess translation directories
echo. html to make standalone HTML files
echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
echo. changes to make an overview over all changed/added/deprecated items
@@ -25,6 +27,14 @@
goto end
)
+if "%1" == "init" (
+ FOR %%L in (%TRANSLATIONS%) DO (
+ xcopy en %%L /d /y /c /s /q
+ )
+ echo.Init finished.
+ goto end
+)
+
if "%1" == "clean" (
for /d %%i in (_build\*) do rmdir /q /s %%i
del /q /s _build\*
More information about the mapserver-commits
mailing list