os/textandloc/textrendering/word/cdata/BLD.BAT
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/textrendering/word/cdata/BLD.BAT	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,47 @@
     1.4 +@rem
     1.5 +@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +@rem All rights reserved.
     1.7 +@rem This component and the accompanying materials are made available
     1.8 +@rem under the terms of "Eclipse Public License v1.0"
     1.9 +@rem which accompanies this distribution, and is available
    1.10 +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +@rem
    1.12 +@rem Initial Contributors:
    1.13 +@rem Nokia Corporation - initial contribution.
    1.14 +@rem
    1.15 +@rem Contributors:
    1.16 +@rem
    1.17 +@rem Description: 
    1.18 +@rem
    1.19 +@echo off
    1.20 +
    1.21 +set _vgroup=word
    1.22 +
    1.23 +if "%1"=="wins" set _mbmdir=\epoc32\release\wins\%2\z\system\apps\%_vgroup%
    1.24 +if "%1"=="WINS" set _mbmdir=\epoc32\release\wins\%2\z\system\apps\%_vgroup%
    1.25 +if "%1"=="marm" set _mbmdir=\epoc32\release\marm\%2
    1.26 +if "%1"=="MARM" set _mbmdir=\epoc32\release\marm\%2
    1.27 +
    1.28 +bmconv bld.txt >NUL
    1.29 +copy %_vgroup%.mbm %_mbmdir%\%_vgroup%.mcl >NUL
    1.30 +
    1.31 +if "%2"=="urel" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL
    1.32 +if "%2"=="UREL" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL
    1.33 +if "%2"=="UDEB" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL
    1.34 +if "%2"=="udeb" copy %_vgroup%u.acl %_mbmdir%\%_vgroup%.acl >NUL
    1.35 +
    1.36 +if "%2"=="urel" set _inifile=wsiniu.ini
    1.37 +if "%2"=="UREL" set _inifile=wsiniu.ini
    1.38 +if "%2"=="udeb" set _inifile=wsiniu.ini
    1.39 +if "%2"=="UDEB" set _inifile=wsiniu.ini
    1.40 +if "%1"=="marm" copy %_inifile% %_mbmdir%\wsini.ini
    1.41 +if "%1"=="MARM" copy %_inifile% %_mbmdir%\wsini.ini
    1.42 +if "%1"=="wins" copy %_inifile% \epoc32\release\wins\%2\z\system\data\wsini.ini
    1.43 +if "%1"=="WINS" copy %_inifile% \epoc32\release\wins\%2\z\system\data\wsini.ini
    1.44 +fc4bat %_vgroup%.mbg \epoc32\include\%_vgroup%.mbg
    1.45 +if errorlevel==1 copy %_vgroup%.mbg \epoc32\include >NUL
    1.46 +del %_vgroup%.mbg >NUL
    1.47 +del %_vgroup%.mbm >NUL
    1.48 +
    1.49 +set _vgroup=
    1.50 +set _mbmdir=