common/tools/zip_includefiles.pl
author Simon Howkins <simonh@symbian.org>
Fri, 04 Sep 2009 17:41:59 +0100
changeset 396 178a6d6661b3
parent 116 47cccedacd2d
permissions -rw-r--r--
Moved tasks for generating config and project BOMs into their own target so they can be tested independently, and simplified them slightly also.

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