common/tools/zip_includefiles.pl
author MattD <mattd@symbian.org>
Wed, 12 Aug 2009 19:28:52 +0100
changeset 351 a4c764727769
parent 116 47cccedacd2d
permissions -rw-r--r--
sf-list-dir - added new tool 'listdir.py' which can exclude a directory and changed the behaviour of sf-list-dir to stop scanning epoc32/build to speed things up.

#!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);
	}
}