common/tools/zip_includefiles.pl
author Shabe Razvi <shaber@symbian.org>
Wed, 27 May 2009 14:12:36 +0100
changeset 112 3fc223926c4a
child 116 47cccedacd2d
permissions -rw-r--r--
Add zip tool to support postbuild RnD packaging.

#!perl -w

use strict;

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