common/tools/mergeepoc32.pl
author Simon Howkins <simonh@symbian.org>
Mon, 11 May 2009 17:31:24 +0100
changeset 90 5b27412eeaf0
parent 81 5e724ff842b4
child 108 d33d43677cdf
permissions -rw-r--r--
Removed obsolete variable (@includes). Moved remaining code round so that an XML entry is created even if there are no local files detected. (Ie same approach as src repositories.)
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