Re: [Module-build-general] Re: [PATCH] Build handles .PL files in bin/
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-03-24 16:09:48
|
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. -Ken |