Subversion Repositories DevTools

Rev

Rev 1145 | Rev 4941 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1145 Rev 1443
Line 245... Line 245...
245
#
245
#
246
#   Determine if there are any suitable NSIS plugin dirs
246
#   Determine if there are any suitable NSIS plugin dirs
247
#   Scan interface and packages
247
#   Scan interface and packages
248
#
248
#
249
my @nsis_tools;
249
my @nsis_tools;
-
 
250
my @nsis_plugins;
250
foreach my $entry (@{$ScmBuildPkgRules{$GBE_MAKE_TARGET} })
251
foreach my $entry (@{$ScmBuildPkgRules{$GBE_MAKE_TARGET} })
251
{
252
{
252
    my $tdir = $entry->{'ROOT'} . '/tools/scripts/nsis';
253
    my $tdir = $entry->{'ROOT'} . '/tools/scripts/nsis';
253
    if ( -d $tdir )
254
    push @nsis_tools, $tdir if ( -d $tdir );
254
    {
255
 
-
 
256
    my $pdir = $entry->{'ROOT'} . '/tools/bin/win32/nsis';
255
        push @nsis_tools, $tdir;
257
    push @nsis_plugins, $pdir if ( -d $pdir );
256
    }
-
 
257
}
258
}
258
writeCmt( $fh, "Extend NSIS Include Search Path");
259
writeCmt( $fh, "Extend NSIS Include Search Path");
259
writeCmd( $fh, '!addincludedir', WindowsPath($_) ) foreach @nsis_tools;
260
writeCmd( $fh, '!addincludedir', WindowsPath($_) ) foreach @nsis_tools;
-
 
261
writeCmd( $fh, '!addplugindir', WindowsPath($_) ) foreach @nsis_plugins;
260
 
262
 
261
#
263
#
262
#   Specify the output file
264
#   Specify the output file
263
#   This will be written directly into the output package
265
#   This will be written directly into the output package
264
#
266
#