author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 15 Sep 2010 13:20:01 +0300 | |
branch | RCL_3 |
changeset 115 | b359a5400166 |
parent 107 | 9f95a5546443 |
child 126 | f24e086457b7 |
permissions | -rw-r--r-- |
107 | 1 |
# |
2 |
# Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
# All rights reserved. |
|
4 |
# This component and the accompanying materials are made available |
|
5 |
# under the terms of "Eclipse Public License v1.0" |
|
6 |
# which accompanies this distribution, and is available |
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
# |
|
9 |
# Initial Contributors: |
|
10 |
# Nokia Corporation - initial contribution. |
|
11 |
# |
|
12 |
# Contributors: |
|
13 |
# |
|
14 |
# Description: |
|
15 |
# |
|
16 |
||
17 |
#!/usr/bin/python |
|
18 |
||
19 |
import os |
|
20 |
import os.path |
|
21 |
import shutil |
|
22 |
import glob |
|
23 |
||
24 |
if not os.path.exists('buildtemp'): |
|
25 |
os.mkdir('buildtemp') |
|
26 |
||
27 |
f = open('makefiles.txt','r') |
|
28 |
for line in f: |
|
29 |
line = line.rstrip() |
|
30 |
if line != "" : |
|
31 |
for target in ['MAKMAKE', 'RESOURCE', 'LIB', 'BLD']: |
|
32 |
parameter = "-f " + line +' '+target |
|
33 |
os.system("make" + " " + parameter) |
|
34 |
||
35 |
f.close() |
|
36 |
||
37 |
||
38 |
filelist=glob.glob("./buildtemp/*.*") |
|
115
b359a5400166
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
107
diff
changeset
|
39 |
for file in filelist: |
b359a5400166
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
107
diff
changeset
|
40 |
shutil.copy(file, "../../../uiresources_plat/layout_data_api/inc") |
107 | 41 |
|
42 |
for file in filelist: |
|
43 |
shutil.copy(file, "../generated_inc") |