1999-10-12 21:50:30 +00:00
|
|
|
rem @echo off
|
|
|
|
rem makedata.bat
|
|
|
|
rem batch file for Windows for creating the ICU data files
|
|
|
|
rem parameter:
|
|
|
|
rem %1 path where the icu folder resides
|
|
|
|
|
|
|
|
if "%1"=="" goto :error
|
|
|
|
|
|
|
|
if "%ICU_DATA%"=="" set ICU_DATA=%1\icu\data\
|
|
|
|
set toolversion=Debug
|
|
|
|
|
|
|
|
rem create conversion tables
|
1999-10-13 01:10:24 +00:00
|
|
|
cd makeconv
|
|
|
|
call mkcnvfle %toolversion% %1
|
1999-10-12 21:50:30 +00:00
|
|
|
|
|
|
|
rem create locale resource bundles
|
1999-10-13 01:10:24 +00:00
|
|
|
cd ..\genrb
|
|
|
|
call genrb %toolversion% %1
|
1999-10-12 21:50:30 +00:00
|
|
|
|
|
|
|
rem create binary collation tables
|
1999-10-13 01:10:24 +00:00
|
|
|
cd ..\gencol
|
|
|
|
%toolversion%\gencol
|
|
|
|
|
|
|
|
cd ..
|
1999-10-12 21:50:30 +00:00
|
|
|
|
|
|
|
goto :end
|
|
|
|
|
|
|
|
:error
|
|
|
|
echo call makedata with the absolute path to the icu directory
|
|
|
|
echo for example, if the full path is d:\mytools\icu then call
|
|
|
|
echo makedata d:\mytools
|
1999-10-13 01:10:24 +00:00
|
|
|
echo the current directory must be the icu\source\tools directory with makedata.bat
|
1999-10-12 21:50:30 +00:00
|
|
|
|
|
|
|
:end
|