contentstorage/tsrc/t_sathandler/preparesis.bat
changeset 117 c63ee96dbe5f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contentstorage/tsrc/t_sathandler/preparesis.bat	Thu Sep 16 12:11:40 2010 +0100
@@ -0,0 +1,24 @@
+@rem
+@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem All rights reserved.
+@rem This component and the accompanying materials are made available
+@rem under the terms of "Eclipse Public License v1.0"
+@rem which accompanies this distribution, and is available
+@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
+@rem
+@rem Initial Contributors:
+@rem Nokia Corporation - initial contribution.
+@rem
+@rem Contributors:
+@rem
+@rem Description: 
+@rem
+
+set TEMPLATE_FILE=t_sathandler_template.pkg
+set EXT=tmp
+
+perl -i.%EXT% -pe"s/\$\(PLATFORM\)/armv5/gm; s/\$\(TARGET\)/urel/gm; s/\(0x2001E61C\)\, \, \, \, \{\"Qt\"\}//gm" %TEMPLATE_FILE%
+
+createsis create  -cert ..\..\..\sis\rd.cer -key ..\..\..\sis\rd-key.pem %TEMPLATE_FILE%
+
+move %TEMPLATE_FILE%.%EXT% %TEMPLATE_FILE%