| parrot documentation | Contained in the parrot distribution. |
Makefile.PL - CPAN installer passthrough to configure Parrot
This file exists only to allow users of a CPAN shell to configure and build Parrot. If you're reading this yourself, use Configure.pl
| parrot documentation | Contained in the parrot distribution. |
#! perl # Copyright (C) 2007-2008, Parrot Foundation. # $Id: Makefile.PL 36658 2009-02-13 05:22:59Z allison $
use strict; use warnings; BEGIN { require 5.008 } my %translations = ( INSTALL_BASE => 'prefix', LIB => 'lib', PREFIX => 'prefix', ); my @commands; for my $arg (@ARGV) { my ($name, $value) = split /=/, $arg, 2; next unless exists $translations{ $name }; push @commands, "--$name=$value"; } system( $^X, 'Configure.pl', @commands ); # Local Variables: # mode: cperl # cperl-indent-level: 4 # fill-column: 100 # End: # vim: expandtab shiftwidth=4: