common/tools/mergeepoc32.pl
author Simon Howkins <simonh@symbian.org>
Tue, 05 May 2009 13:26:31 +0100
changeset 83 add0abfa2371
parent 81 5e724ff842b4
child 108 d33d43677cdf
permissions -rw-r--r--
Fix the generation of the binary zip, so epoc32/include is zipped, but epoc32/build is not.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
81
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     1
#!perl -w
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     2
use strict;
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     3
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     4
# Assume that all rnd repositories are delivered onto the build machine in \rnd\category\name\epoc32\...
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     5
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     6
my @rndRepositories = glob "/rnd/*/*";
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     7
foreach (@rndRepositories)
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     8
{
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
     9
	s{/}{\\}g;
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    10
	system("xcopy /Q/C/I/Y/E $_\\epoc32 \\epoc32 > nul:");
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    11
}
5e724ff842b4 Added RnD binaries support in PRE-BUILD stage.
ThomasE@UK-ThomasE.symbian.int
parents:
diff changeset
    12