common/tools/zip_includefiles.pl
author Shabe Razvi <shaber@symbian.org>
Thu, 28 May 2009 16:01:09 +0100
changeset 116 47cccedacd2d
parent 112 3fc223926c4a
permissions -rw-r--r--
Use 7za not 7z as this is what is available on build machines

#!perl -w

use strict;

my @includefiles = glob "*_includefile.txt";
foreach (@includefiles)
{
    my $includefilename=$_;
	if (m/(.*)(_includefile.txt)/) {
		my $zipfilename = $1.".zip";
		system("7za a -tzip -i@".$includefilename . " " .$zipfilename);
	}
}