On Mon, 7 Oct 2002, Norton Allen wrote:

>>>some CGI scripts that need to go into a cgi-bin directory.

>>The cgi-bin directory will be in wildly different places from one
>>system to the next, so there's nothing you can do.

> As for the cgi-bin directory being in different places, this
> would certainly require that the target directory location
> be specified.

Ah right, like 'perl Makefile.PL CGI_DIR=...'?

If you want to copy 'a file' to 'somewhere' then I'm afraid there is
no easy way to do this with MakeMaker.  I investigated that when I
wanted to install some data files to /usr/share/ as part of an
application.  In the end I had to hack the generated Makefile text by
hand, adding new targets and stuff; it wasn't pretty but it works.

> When you say "Just print a warning message," is there a standard
> way to do this as part of (or upon completion of) 'make install'?

Hmm, not AFAIK.  Again I think you will have to alter the generated
Makefile textually, unless someone on this list can point out an
official way.

-- 
Ed Avis <[EMAIL PROTECTED]>


Reply via email to