Author: rurban
Date: Thu Dec 25 10:37:06 2008
New Revision: 34351
Modified:
branches/pdd30_install/tools/dev/install_files.pl
Log:
[install] use $options{libdir} or prefix
Modified: branches/pdd30_install/tools/dev/install_files.pl
==============================================================================
--- branches/pdd30_install/tools/dev/install_files.pl (original)
+++ branches/pdd30_install/tools/dev/install_files.pl Thu Dec 25 10:37:06 2008
@@ -206,8 +206,11 @@
else {
$dest =~ s|^src/|lib/parrot/src/|;
next if $dest =~ /^compilers|config|language|tools/;
- $dest =~ s/^runtime/lib/;
- $dest = File::Spec->catdir( $options{prefix}, $dest );
+ if (/^runtime/) {
+ $dest =~ s/^runtime/$options{libdir}/;
+ } else {
+ $dest = File::Spec->catdir( $options{prefix}, $dest );
+ }
}
$dest = File::Spec->catdir( $options{buildprefix}, $dest )