Re: [Module-build-general] Re: [PATCH] Build handles .PL files in bin/
Status: Beta
Brought to you by:
kwilliams
|
From: David W. <da...@ki...> - 2003-03-24 15:59:58
|
On Mon, 24 Mar 2003, Casey West wrote:
> MakeMaker doesn't handle built scripts. You have to do it yourself,
> by putting something like the following in your Makefile.PL:
>
> system($^X, 'bin/poest.PL');
>
> What I really think should happen, is anything in PL_files should be
> run, reguardless of the directory. That would solve the problem, I
> would say.
Maybe I don't properly understand what you're trying to do, but MM does
build scripts for you. I use it to install the activitymail script like
this:
WriteMakefile(
NAME => 'activitymail',
VERSION_FROM => 'bin/activitymail',
PREREQ_PM => {'Getopt::Std' => 0,
'File::Basename' => 0
},
EXE_FILES => ['bin/activitymail'],
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'bin/activitymail', # retrieve abstract from module
AUTHOR => 'David Wheeler <da...@wh...>') : ()),
);
Check it out here:
http://search.cpan.org/src/DWHEELER/activitymail-1.04/
Regards,
David
--
David Wheeler AIM: dwTheory
da...@ki... ICQ: 15726394
Yahoo!: dew7e
Jabber: Th...@ja...
Kineticode. Settiong knowledge in motion.[sm]
|