On Mon, Oct 07, 2002 at 10:05:13AM -0400, Norton Allen wrote:
> I'm developing a CGI application. It includes a perl module
> that gets installed in the usual place, some command-line
> scripts that should go in INSTALLSCRIPT and some CGI scripts
> that need to go into a cgi-bin directory.
>
> What is my best strategy for handling installation?
In your Makefile.PL you'll probably want to use
ExtUtils::MakeMaker::prompt() to ask the user where they want the CGIs
installed. A CGI_DIR argument to Makefile.PL (accessable via
$mm->{CGI_DIR}) might also work. Both should probably be used with the
prompt() only happening if there's no CGI_DIR specified.
After that, stick in an install :: target like discussed later in the
thread.
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
It's Flypaper Licking time!