equal
deleted
inserted
replaced
|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 @echo off |
|
17 if "%1"=="" goto err |
|
18 if "%2"=="" goto err |
|
19 if "%2"=="rel" goto err |
|
20 if "%2"=="REL" goto err |
|
21 if "%2"=="deb" goto err |
|
22 if "%2"=="DEB" goto err |
|
23 |
|
24 if "%1"=="wins" set _destdir=\epoc32\release\wins\%2\z\system\templates\word\ |
|
25 if "%1"=="WINS" set _destdir=\epoc32\release\wins\%2\z\system\templates\word\ |
|
26 if "%1"=="marm" set _destdir=\epoc32\release\marm\%2\ |
|
27 if "%1"=="MARM" set _destdir=\epoc32\release\marm\%2\ |
|
28 set _lang=%3 |
|
29 if "%3"=="" set _lang=uk |
|
30 |
|
31 goto %1 |
|
32 |
|
33 :wins |
|
34 copy blank.uk %_destdir%"Blank document" |
|
35 goto home |
|
36 |
|
37 :marm |
|
38 copy *.%_lang% %_destdir%*.%_lang% |
|
39 goto home |
|
40 |
|
41 :err |
|
42 echo Usage: bld [plat] [var] [lang] |
|
43 echo var should be udeb/urel |
|
44 goto end |
|
45 |
|
46 :home |
|
47 echo Templates copied to %_destdir% |
|
48 |
|
49 :end |
|
50 set _destdir= |
|
51 set _lang= |