common/tools/zip_includefiles.pl
author MattD <mattd@symbian.org>
Fri, 14 Aug 2009 15:29:27 +0100
changeset 355 f5a4f71b49e1
parent 116 47cccedacd2d
permissions -rw-r--r--
BOM fix - Changed to reading project location ${sf.project.location} instead of ${sf.config.dir}/../build/config, which isn't always correct.

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