Ignore:
Timestamp:
08/10/2008 20:57:34 (4 years ago)
Author:
chris
Message:

Include LICENSE.txt in parcels, but don't install it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/makeparcels.pl.in

    r2328 r2338  
    124124        for(@{$parcel_contents{$parcel}}) 
    125125        { 
    126                 my ($type,$name,$dest) = split /\s+/; 
    127                 my $optional = ''; 
     126                my @args = split /\s+/; 
     127 
     128                my ($type,$name,$dest) = @args; 
     129                my $optional = 0; 
     130                my $install  = 1; 
    128131 
    129132                if ($type eq 'optional') 
    130133                { 
    131                         ($optional,$type,$name,$dest) = split /\s+/; 
     134                        $optional = 1; 
     135                        shift @args; 
     136                        ($type,$name,$dest) = @args; 
     137                } 
     138 
     139                if ($type eq 'noinstall') 
     140                { 
     141                        $install = 0; 
     142                        shift @args; 
     143                        ($type,$name,$dest) = @args; 
    132144                } 
    133145 
     
    185197        { 
    186198                my ($type,$name,$dest) = split /\s+/; 
    187                 my $optional = ''; 
     199 
     200                my $optional = 0; 
     201                my $install  = 1; 
    188202 
    189203                if ($type eq 'optional') 
    190204                { 
    191                         ($optional,$type,$name,$dest) = split /\s+/; 
    192                 } 
     205                        $optional = 1; 
     206                        shift @args; 
     207                        ($type,$name,$dest) = @args; 
     208                } 
     209 
     210                if ($type eq 'noinstall') 
     211                { 
     212                        $install = 0; 
     213                        shift @args; 
     214                        ($type,$name,$dest) = @args; 
     215                } 
     216 
    193217 
    194218                if ($type eq 'script') 
     
    198222                } 
    199223 
    200                 unless ($target_windows) 
     224                if ($install and not $target_windows) 
    201225                { 
    202226                        my $local_install_dir = $install_into_dir; 
Note: See TracChangeset for help on using the changeset viewer.