Re: [Module-build-general] Re: [PATCH] Build handles .PL files in bin/
Status: Beta
Brought to you by:
kwilliams
|
From: Casey W. <ca...@ge...> - 2003-03-24 16:14:21
|
It was Monday, March 24, 2003 when Ken Williams took the soap box, saying: : : On Monday, March 24, 2003, at 10:00 AM, David Wheeler wrote: : : >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. : : We're talking about the automatic build-time running of programs like : scripts/foo.PL , which usually results in an output file like : scripts/foo . The fundamental issues here are about these .PL files, : not really about scripts. For instance, .PL files could also be things : like lib/Foo/Bar/Baz.pm.PL , which would generate lib/Foo/Bar/Baz.pm . : : Installing scripts themselves is something that MM and M::B both : already do. Yes, but currently Module::Build will only run .PL files within the lib/ directory. I'm just asking for a nice way to extend that. I feel odd asking, as the module is named Module::Build not Dist::Build or Script::Build or App::Build, but it would be handy. Casey West -- "Please leave your values at the front desk." --In a Paris Hotel Elevator |