Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Installing a script

by Anonymous Monk
on Aug 24, 2009 at 02:55 UTC ( [id://790721]=note: print w/replies, xml ) Need Help??


in reply to Installing a script

use ExtUtils::MakeMaker::prompt, but this should suffice
perl Makefile.PL INSTALLSCRIPT=something/custom/bin make make test make install
or if you process @ARGV yourself
make install INSTALLSCRIPT=something/custom/bin
Don't forget the PL_FILES option.

Replies are listed 'Best First'.
Re^2: Installing a script
by ikegami (Patriarch) on Aug 24, 2009 at 03:32 UTC

    INSTALLSCRIPT says where to install them (which should be set automatically by PREFIX and the newer & better INSTALL_BASE), not what to install.

    PL_FILES is completely unrelated.

      not what to install.

      Astroboy answered the first part of the question (EXE_FILES) himself. INSTALLSCRIPT/prompt answers the second part.

      PL_FILES is completely unrelated.

      PL_FILES is simply important; It needs to be managed. Many (even the initiated) overlook that it will install your demo.pl /example.pl /generatefoo.pl into the module tree by default.

      Sometimes you need to read the question closely.

      Thank you

        PL_FILES is a means of specifying scripts that are executed during the installation process. For example, I used it to identify a script that compiles WSDL files into SOAP::Lite classes during installation. It has nothing to do with causing scripts to be installed or with preventing scripts from being installed. It has nothing to do with installing scripts at all.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://790721]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-19 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found