common/tools/zip_includefiles.pl
author Simon Howkins <simonh@symbian.org>
Tue, 04 Aug 2009 12:20:40 +0100
changeset 330 f2e8947e085a
parent 116 47cccedacd2d
permissions -rw-r--r--
Added invokation to build.xml and adjusted path to backup locations to match my development environment.

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