common/tools/zip_includefiles.pl
author Simon Howkins <simonh@symbian.org>
Wed, 05 Aug 2009 17:49:35 +0100
changeset 333 7b0a774a0c87
parent 116 47cccedacd2d
permissions -rw-r--r--
Made error messages more useful.

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