Revision: 201016
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 04 May 2010 12:39:39 +0300
changeset 0 a432412f3079
child 1 826e9ef1a4df
Revision: 201016 Kit: 201018
cmaker/config/export.mk
cmaker/makefile
data/tsfiles.zip
layers.sysdef.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmaker/config/export.mk	Tue May 04 12:39:39 2010 +0300
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2006, 2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:  qt translations configuration export makefile
+#
+
+MAKEFILE = /sf/mw/qttranslations/cmaker/config/export.mk
+$(call push,MAKEFILE_STACK,$(MAKEFILE))
+
+LANGUAGE_IDS = 37 102 42 44 45 25 07 18 01 10 49 50 09 02 51 103 03 54 57 58 30 17 15 59 05 32 65 67 68 70 08 27 13 76 31 78 16 79 26 28 04 83 06 39 29 33 14 93 94 96
+
+ts_config 	:: ts-content
+
+ts-content :  
+	cd \epoc32\include\platform\qt\translations && unzip -o \sf\mw\qttranslations\data\tsfiles.zip
+	cd \epoc32\include\platform\mw\loc && $(PERL) $(E32TOOLS)\emkdir.pl $(LANGUAGE_IDS)
+
+
+
+$(call popout,MAKEFILE_STACK) 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmaker/makefile	Tue May 04 12:39:39 2010 +0300
@@ -0,0 +1,36 @@
+#
+# Copyright (c) 2006, 2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description:  qt translations configuration makefile
+#
+
+#Define this platform as default if nothing is defined
+
+MAKEFILE = /sf/mw/qttranslations/cmaker/makefile
+
+# Define the directories you want to create to a variable.
+TSFILES = /epoc32/include/platform/qt/translations
+LANGUAGE_IDS_FOLDER = /epoc32/include/platform/mw/loc
+
+
+export_template_files    :: $(TSFILES) $(LANGUAGE_IDS_FOLDER) ts_config
+
+# create a target with that variable, which treats each directory as its own target.
+# The perl emkdir.pl <target> will create the folder structure
+$(TSFILES):
+	$(PERL) $(E32TOOLS)\emkdir.pl $@
+
+$(LANGUAGE_IDS_FOLDER):
+	$(PERL) $(E32TOOLS)\emkdir.pl $@
+
+include include_template.mk
Binary file data/tsfiles.zip has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/layers.sysdef.xml	Tue May 04 12:39:39 2010 +0300
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE SystemDefinition SYSTEM "sysdef_1_4_0.dtd" [
+  <!ENTITY layer_real_source_path "sf/mw/qttranslations" >
+]>
+
+<SystemDefinition name="qttranslations" schema="1.4.0">
+</SystemDefinition>
+
+