common/tools/zip_includefiles.pl
author royt <tathagatar@symbian.org>
Fri, 18 Sep 2009 11:41:08 +0100
changeset 476 0af8245d50a0
parent 116 47cccedacd2d
permissions -rw-r--r--
.

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