[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 15:24:03
|
It was Monday, March 24, 2003 when Ken Williams took the soap box, saying: : : On Sunday, March 23, 2003, at 03:24 PM, Casey West wrote: : : >I'm in need of having Module::Build handle .PL files in bin/. So the : >patch below allows this, but we should probably be able to give a list : >of directories under which .PL files will be built. But as for : >defaults, lib/ and bin/ are most logical. : : At this point, there is nothing special about a bin/ directory. Are : you using that as a directory of scripts? Yes. My example is an MTA with libraries which are installed, and the actual MTA program installed (and built) at the same time. : I think it's a good idea to have an argument to specify where .PL files : are located, but I'd probably want the default to be just lib/ . : : What is the MakeMaker procedure on this? 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. Casey West -- Shooting yourself in the foot with AMIGA-DOS The gun works pretty well, except that few people use one and it's impossible to find bullets. |