On Thu, 12 Dec 2002, Andy Wolf wrote:

> Is MakeMaker the wrong tool for this task ? Do I have to invent the wheel
> and write my own installation script ? Or can this be done somehow with a
> simple "perl Makefile.PL" ?

This can be done with MakeMaker, by subclassing it (in its weird way) and
rewriting the generated Makefile to call various scripts/programs to
install the app.  You can also prompt the user and so on.

However, my experience with this is that it's a huge pain in the ass.  I'd
strongly recommend taking a look at Module::Build, which lets you do
everything in pure Perl (no Makefiles).  Writing an app installer with
Module::Build is far easier than with MakeMaker.


-dave

/*==================
www.urth.org
we await the New Sun
==================*/

Reply via email to