common/tools/zip_includefiles.pl
author Mike Kinghan <mikek@symbian.org>
Thu, 28 May 2009 14:55:09 +0100
changeset 113 7f0174848f99
parent 112 3fc223926c4a
child 116 47cccedacd2d
permissions -rw-r--r--
Adding license boilerplate to perl scripts.

#!perl -w

use strict;

my @includefiles = glob "*_includefile.txt";
foreach (@includefiles)
{
    my $includefilename=$_;
	if (m/(.*)(_includefile.txt)/) {
		my $zipfilename = $1.".zip";
		system("7z a -tzip -i@".$includefilename . " " .$zipfilename);
	}
}