Update of /cvsroot/module-build/Module-Build/lib/Module
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27503/lib/Module
Modified Files:
Build.pm
Log Message:
Make script_files a bit smarter
Index: Build.pm
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v
retrieving revision 1.168
retrieving revision 1.169
diff -C2 -d -r1.168 -r1.169
*** Build.pm 12 Nov 2004 02:34:31 -0000 1.168
--- Build.pm 15 Nov 2004 18:38:50 -0000 1.169
***************
*** 498,508 ****
An optional parameter specifying a set of files that should be
installed as executable perl scripts when the module is installed.
! May be given as an array reference of the files, or as a hash
! reference whose keys are the files (and whose values will currently be
! ignored).
! The default is to install no script files - in other words, there is
! no default location where Module::Build will look for script files to
! install.
For backward compatibility, you may use the parameter C<scripts>
--- 498,513 ----
An optional parameter specifying a set of files that should be
installed as executable perl scripts when the module is installed.
! May be given as an array reference of the files, as a hash reference
! whose keys are the files (and whose values will currently be ignored),
! as a string specifying a directory to scan for scripts
! (nonrecursively), or as a string specifying the location of a single
! script to install. When scanning a directory for scripts, we don't do
! anything fancy - we just take every file that's not a directory.
! The default is to install any scripts found in a top-level F<bin/>
! directory in the distribution. Note that older versions of
! Module::Build did not search for scripts anywhere by default - if
! you've got a F<bin/> directory and you don't want it auto-scanned for
! scripts, then pass an empty value for the C<script_files> parameter.
For backward compatibility, you may use the parameter C<scripts>
|