On Apr 5, 2005, at 12:58 AM, Ken Williams wrote:
On Apr 4, 2005, at 11:34 AM, Michael G Schwern wrote:
For reference, this discussion started when Jos was looking for a MakeMaker target which deletes everything not in the MANIFEST.
I would never ever ever ever ever ever ever ever want that.
The reason something like this is needed (but i've found another way, i'll explain shortly) is that some distributions leave files in their dist directory after a 'make test' that should have been cleaned up with a 'make realclean'.
Notorious example here is Compress::Zlib which leaves a 'test.gz' after make test.
This one is double bad because it's also a binary file, which means (and here's the real thing), that packaging tools that rely on diff (like debhelper) go crazy and just break down.
I've used 'make distdir' now to get a clean *copy* of what the orignal tarball was like according to the manifest.. there's some small hickups with M::B there (i'll send them in seperate reports) but that seeems to mostly do what i need.
--
Jos Boumans
"You know you are never more indignant in life than when you're shopping at a store you feel is beneath you and one of the other customers mistakes you for one of the employees of that store." - Dennis Miller
CPANPLUS http://cpanplus.sf.net