[Module::Build] Re: CPAN Upload: Y/YV/YVES/ExtUtils-Install-1.38.tar.gz
Status: Beta
Brought to you by:
kwilliams
From: Nick Ing-S. <ni...@in...> - 2006-04-11 19:26:44
|
Demerphq <dem...@gm...> writes: >On 4/9/06, Rafael Garcia-Suarez <rga...@gm...> wrote: >> On 09/04/06, demerphq <dem...@gm...> wrote: >> > Notable changes are better Win32 support for in-use files, and support >> > for an INSTALL.SKIP file to prevent stuff being installed that >> > shouldnt be. This should be particularly useful for folks that use SVN >> > and would like to be able to do an install directly from their working >> > directory without install svn directories into their perl module tree. >> >> How does the purpose of this file differ from the one of MANIFEST.SKIP ? > >ExtUtils::Install::install() pays no attention to MANIFEST.SKIP and never = has. And shouldn't. In many cases they are inverses! It is quite reasonable to have something in MANIFEST.SKIP because the=20 build process generates it e.g. exclude Foo when there is a Foo.PL that bui= lds it. When you install though you may want to install generated Foo but NOT= =20 Foo.PL (and later can look like something to install Foo.pl on case ignorin= g=20 systems.) > >MANIFEST.SKIP is to prevent stuff from getting added to MANIFEST when >you do something like > > make manifest > >which is a distinct process from installation.Installation is >performed by doing stuff like moving all files under one path to >another path, INSTALL.SKIP allows you to prevent specific filetypes or >files from being included in such a process. > >Examples uses for this could be on Win32 to filter out the >installation of XS/C compilation byproduct like *.pdb. I personally >use it for stuff like preventing .bak from getting installed and for >keeping .svn out of my site/lib tree. > >In ex-ExtUtils-Install-1.3702 I made the mistake of letting >MANIFEST.SKIP be used when no INSTALL.SKIP was present but this >prevented some packages from installing as their MANIFEST.SKIP >contained the patter /blib/ which as it is in most install source >paths meant that nothing would get installed at all. 1.38 fixes this >problem by using INSTALL.SKIP only, but allows >EU_INSTALL_SITE_SKIPFILE to be set to a site specific file for generic >use. > >Cheers, >Yves |