diff options
Diffstat (limited to 'install-nomake')
-rwxr-xr-x | install-nomake | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/install-nomake b/install-nomake deleted file mode 100755 index f5e8c21..0000000 --- a/install-nomake +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# -# This script is included in this distribution for the benefit -# of those users who cannot use MakeMaker and make to install. -# Run this script with -# -# perl install-nomake [-s <directory>] -# -# -s Install into this directory instead of the system site_lib -# (This directory must already exist) -# - -eval 'exec perl -x -S $0 ${1+"$@"}' - if $running_under_some_shell; - -#! -*- perl -*- - -use Config; -use File::Spec; -use Getopt::Long; -use ExtUtils::Install qw(install); - -my $sitelib = $Config{'sitelibexp'}; - -GetOptions( - 'sitelib=s' => \$sitelib -); - -die "$sitelib is not a directory: $!" - unless -d $sitelib; - -my $src = File::Spec->curdir; - -die "This script must be run from the libnet distribution directory: $!\n" - unless -f File::Spec->catfile($src, qw(Net FTP.pm)); - -install( { $src => $sitelib }, 1,0,0); |