# New Ticket Created by  FranÃois PERRAD 
# Please include the string:  [perl #34606]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34606 >



With this small patch, parrot.exe is installed.
Today, the file MANIFEST.generated is OS-dependent.

(When shared library (.dll) will produced, an over patch must be needed.)
--- install_files.pl.orig       2004-10-07 18:06:42.000000000 +0200
+++ install_files.pl    2005-03-16 16:12:20.000000000 +0100
@@ -114,6 +114,10 @@
 use File::Copy;
 use File::Spec;
 use strict;
+use lib 'lib';
+use Parrot::Config;
+
+my $exe = $PConfig{'exe'};
 
 # When run from the makefile, which is probably the only time this
 # script will ever be used, all of these defaults will get overridden.
@@ -170,6 +174,10 @@
         $dest = File::Spec->catdir($options{libdir}, $dest);
     } elsif ($meta{bin}) {
         $dest = File::Spec->catdir($options{bindir}, $dest);
+        if ($exe) {
+           $src .= $exe;
+           $dest .= $exe;
+        }
     } elsif ($meta{include}) {
         $dest = File::Spec->catdir($options{includedir}, $dest);
     } else {

Reply via email to