David Golden <xda...@gmail.com> writes:
> On Thu, Apr 15, 2010 at 4:57 AM, Steffen Schwigon <s...@renormalist.net> 
> wrote:
>> Hi!
>>
>> I did not expect that my MANIFEST.SKIP file (either self-written or
>> auto-generated) gets deleted during ./Build distclean.
>>
>> What is the rationale behind that?
>> I couldn't read that out of the documentation.
>
> The only reason MANIFEST.SKIP should be deleted is if Module::Build
> created it because you didn't have one.  In that case, it would
> actually get removed with "Build clean" (which distclean calls).
>
> There is a subtle wrinkle that the cleanup list that "Build clean"
> uses is persistent until distclean or realclean.
>
> So you need to run 'Build realclean', then create your MANIFEST.SKIP,
> then run 'perl Build.PL', etc. as normal.

I think I stumbled over that. It does no longer happen.

Maybe the heuristics could be improved or a question asked before
deleting a MANIFEST.SKIP which differs from the one it would generate
by itself (via md5sum or similar). This could solve confusion like I
experienced.

Anyway, thanks for the answers.

Kind regards,
Steffen 
-- 
Steffen Schwigon <s...@renormalist.net>
Dresden Perl Mongers <http://dresden-pm.org/>

Reply via email to