os/textandloc/textrendering/word/resource/BLD.BAT
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
@rem
sl@0
     2
@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
@rem All rights reserved.
sl@0
     4
@rem This component and the accompanying materials are made available
sl@0
     5
@rem under the terms of "Eclipse Public License v1.0"
sl@0
     6
@rem which accompanies this distribution, and is available
sl@0
     7
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
@rem
sl@0
     9
@rem Initial Contributors:
sl@0
    10
@rem Nokia Corporation - initial contribution.
sl@0
    11
@rem
sl@0
    12
@rem Contributors:
sl@0
    13
@rem
sl@0
    14
@rem Description: 
sl@0
    15
@rem
sl@0
    16
@echo off
sl@0
    17
sl@0
    18
set _vgroup=word
sl@0
    19
sl@0
    20
if "%1"=="wins" set _mbmdir=\epoc32\release\wins\%2\z\system\apps\%_vgroup%
sl@0
    21
if "%1"=="WINS" set _mbmdir=\epoc32\release\wins\%2\z\system\apps\%_vgroup%
sl@0
    22
if "%1"=="marm" set _mbmdir=\epoc32\release\marm\%2
sl@0
    23
if "%1"=="MARM" set _mbmdir=\epoc32\release\marm\%2
sl@0
    24
sl@0
    25
bmconv bld.txt >NUL
sl@0
    26
copy %_vgroup%.mbm %_mbmdir%\%_vgroup%.mbw >NUL
sl@0
    27
sl@0
    28
if "%2"=="urel" copy %_vgroup%u.abw %_mbmdir%\%_vgroup%.abw >NUL
sl@0
    29
if "%2"=="UREL" copy %_vgroup%u.abw %_mbmdir%\%_vgroup%.abw >NUL
sl@0
    30
if "%2"=="UDEB" copy %_vgroup%u.abw %_mbmdir%\%_vgroup%.abw >NUL
sl@0
    31
if "%2"=="udeb" copy %_vgroup%u.abw %_mbmdir%\%_vgroup%.abw >NUL
sl@0
    32
sl@0
    33
if "%2"=="urel" set _inifile=wsiniu.ini
sl@0
    34
if "%2"=="UREL" set _inifile=wsiniu.ini
sl@0
    35
if "%2"=="udeb" set _inifile=wsiniu.ini
sl@0
    36
if "%2"=="UDEB" set _inifile=wsiniu.ini
sl@0
    37
if "%1"=="marm" copy %_inifile% %_mbmdir%\wsini.ini
sl@0
    38
if "%1"=="MARM" copy %_inifile% %_mbmdir%\wsini.ini
sl@0
    39
if "%1"=="wins" copy %_inifile% \epoc32\release\wins\%2\z\system\data\wsini.ini
sl@0
    40
if "%1"=="WINS" copy %_inifile% \epoc32\release\wins\%2\z\system\data\wsini.ini
sl@0
    41
fc4bat %_vgroup%.mbg \epoc32\include\%_vgroup%.mbg
sl@0
    42
if errorlevel==1 copy %_vgroup%.mbg \epoc32\include >NUL
sl@0
    43
del %_vgroup%.mbg >NUL
sl@0
    44
del %_vgroup%.mbm >NUL
sl@0
    45
sl@0
    46
set _vgroup=
sl@0
    47
set _mbmdir=