# HG changeset patch # User Shabe Razvi # Date 1243429956 -3600 # Node ID 3fc223926c4aec710d8745d1d305a9d1abbb63ea # Parent 5b0bc2f89660730967700636bb3233498f52bacb Add zip tool to support postbuild RnD packaging. diff -r 5b0bc2f89660 -r 3fc223926c4a common/tools/zip_includefiles.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/zip_includefiles.pl Wed May 27 14:12:36 2009 +0100 @@ -0,0 +1,13 @@ +#!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); + } +} \ No newline at end of file