common/tools/zip_includefiles.pl
author Dario Sestito <darios@symbian.org>
Thu, 20 Aug 2009 10:44:38 +0100
changeset 370 6a77c1534c7f
parent 116 47cccedacd2d
permissions -rw-r--r--
Truclean should not be performed if the sources.csv line doesn't have a sysdef field

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