On Mon, Apr 04, 2005 at 05:58:54PM -0500, Ken Williams wrote:
> >To that end, maybe "distclean" is misnamed.
> 
> I guess it depends on how you read it.  

Exactly.  It shouldn't depend on how you read it.


> Personally, I just have my upload tools do an 
> ExtUtils::Manifest::filecheck() before uploading.

Which is, ironically, exactly what distclean does.

distclean :: realclean distcheck
        $(NOECHO) $(NOOP)

distcheck :
        $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck

What distclean is doing is checking to see if realclean actually cleans 
things back to a pristine state AND that you've checked everything into
MANIFEST... at least that's how I interpret it. [1]  The focus should be on 
the checking not so much the cleaning, but it still has to mention the 
cleaning because it would be surprising if "distcheck" ran a clean.

However, does dist and disttest make this action irrelevant?


[1] I don't have the energy to dig back through the MakeMaker history to see
what its original purpose was.

Reply via email to