rinceWind has asked for the wisdom of the Perl Monks concerning the following question:

I have a module I've released to for CPAN: VCS::Lite::Repository. One of the deliverables is a script called VCShell.pl, a command line shell that gives access to the module code (much like dbish does for DBI).

I put it in the bin directory, as this is what other CPAN modules seem to be doing, but "make install" seems to leave the script where it is.

What I'd quite like to happen is for the script to get installed into Perl's site bin directory, altering the shebang line for the correct path to perl. On a Windows platform, I'd like it to run the file through pl2bat in the process.

I was under the impression that this is something that happens automatically.

I'm feeling lazy and don't feel like crufting Makefile.PL. Someone must have addressed this before.

Any help would be appreciated

rinceWind

--
I'm Not Just Another Perl Hacker

Update: liz++ EXE_FILES is exactly what I was after. I hadn't chanced on the right keywords to supersearch.

  • Comment on How to deploy scripts to accompany a module

Replies are listed 'Best First'.
Re: How to deploy scripts to accompany a module
by liz (Monsignor) on Jan 10, 2004 at 12:43 UTC