Re: EU::MM 'make distclean'
On Sep 2, 2006, at 3:16 PM, Michael G Schwern wrote: Jos I. Boumans wrote: from the term 'make distclean' i'd expect it to return my build directory in to the state the MANIFEST dictates. However, it seems to be actually only *telling* me what is wrong, without actually removing the wrong files: I believe this is intentional behavior. Consider the very common case where you have just developed a new .pm or .t file and not added it to your MANIFEST. You reflexively type make realclean and your work disappears and you are sad. Right - it should only be deleting files it knows it has created, or which the user/author has included in the 'clean' parameter. Note that the docs also say what it does: just a 'realclean' and then 'distcheck'. Reading the documentation, that seems to be the intention as well :( How would i invoke 'make' to clean out everything that's not in the MANIFEST file? Personally I'd just remove the directory and re-extract it from the tarball, like CPAN.pm does. -Ken
Re: EU::MM 'make distclean'
Jos I. Boumans wrote: from the term 'make distclean' i'd expect it to return my build directory in to the state the MANIFEST dictates. However, it seems to be actually only *telling* me what is wrong, without actually removing the wrong files: I believe this is intentional behavior. Consider the very common case where you have just developed a new .pm or .t file and not added it to your MANIFEST. You reflexively type make realclean and your work disappears and you are sad. Reading the documentation, that seems to be the intention as well :( How would i invoke 'make' to clean out everything that's not in the MANIFEST file? Instructions for blowing holes in your foot are now in the FAQ. http://svn.schwern.org/svn/CPAN/ExtUtils-MakeMaker/trunk/lib/ExtUtils/MakeMaker/FAQ.pod [EMAIL PROTECTED] ~...build/Compress-Zlib-1.34]$ perl Makefile.PL Parsing config.in... Building Zlib enabled Looks Good. Up/Downgrade complete. Writing Makefile for Compress::Zlib [EMAIL PROTECTED] ~...build/Compress-Zlib-1.34]$ make distclean rm -rf Zlib.c *.c constants.h constants.xs ./blib Makefile.aperl blib/arch/auto/Compress/Zlib/extralibs.all blib/arch/auto/Compress/Zlib/extralibs.ld perlmain.c tmon.out mon.out so_locations blibdirs.ts pm_to_blib.ts *.o *.a perl.exe perl perl Zlib.bs Zlib.bso Zlib.def libZlib.def Zlib.exp Zlib.x core core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9] mv Makefile Makefile.old /dev/null 21 rm -rf blib/lib/auto/Compress/Zlib blib/arch/auto/Compress/Zlib rm -rf Compress-Zlib-1.34 rm -f blib/arch/auto/Compress/Zlib/Zlib.so blib/arch/auto/Compress/Zlib/Zlib.bs rm -f blib/arch/auto/Compress/Zlib/Zlib.a rm -rf blib/lib/Compress/Zlib.pm Makefile.old Makefile /usr/bin/perl -MExtUtils::Manifest=fullcheck -e fullcheck Not in MANIFEST: examples/filtdef.bak Not in MANIFEST: examples/filtinf.bak Not in MANIFEST: examples/gzcat.bak Not in MANIFEST: examples/gzgrep.bak Not in MANIFEST: examples/gzstream.bak Not in MANIFEST: t/01version.t.bak Not in MANIFEST: t/02zlib.t.bak Not in MANIFEST: t/03examples.t.bak Not in MANIFEST: t/04encoding.t.bak Not in MANIFEST: t/05gzsetp.t.bak Not in MANIFEST: t/06gzdopen.t.bak Not in MANIFEST: test.gz Not in MANIFEST: Zlib.pm.bak [EMAIL PROTECTED] ~...build/Compress-Zlib-1.34]$