ehdonhon has asked for the wisdom of the Perl Monks concerning the following question:
I have a sandbox with a directory structure set up like this (names have been changed to protect the guilty):
MyModule.pm Makefile.PL bin/myscript.pl template/mytemplate1 template/mytemplate2
This is what I would like ExtUtils::MakeMaker to do for me:
- Install MyModule into /usr/local/myperllib/
- Install myscript.pl in /usr/local/bin/
- Install template/* into /usr/local/templates
Presently, my Makefile.PL looks like this:
use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'MyModule' 'VERSION_FROM' => 'MyModule.pm' 'PREREQ_PM' => {}, 'LIB' => '/usr/local/myperllib', 'INSTALLSCRIPT' => '/usr/local/bin', 'EXE_FILES' => ['bin/myscript.pl'], );
This will build a makefile that achieves requirements #1, and #2. Any thoughts on how to achieve #3??
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
•Re: Installing lots of things in different places with MakeMaker
by merlyn (Sage) on Jan 17, 2004 at 02:43 UTC | |
by ehdonhon (Curate) on Jan 17, 2004 at 02:49 UTC | |
by Anonymous Monk on Jan 17, 2004 at 04:39 UTC | |
by geekbunker (Acolyte) on Jan 17, 2004 at 23:52 UTC | |
Re: Installing lots of things in different places with MakeMaker
by danb (Friar) on Jan 17, 2004 at 19:44 UTC |
Back to
Seekers of Perl Wisdom