On Feb 14, 2006, at 3:06 PM, Tyler MacDonald wrote:
Chris Dolan <[EMAIL PROTECTED]> wrote:
Well it would only clobber the file if it contained the
"auto-generated" line, so I think that's safe, but if you want to be
*really* paranoid, how about having the dist actions fail if you
havent
specified a "create_makfile_pl" arg? (one of the exsitng ones or
"skip").
I just tested and CVS HEAD M::B happily overwrote a hand-made
Makefile.PL when I added 'traditional' to Build.PL and ran "Build
distdir". Luckily, I had it in SVN so it was an easy restore.
But that's exactly what you asked it to do. ;-)
Seriously though, it sounds like having at least a loud warning "I
did not write this Makefile.PL, move it out of the way first" is
worthwhile.
- Tyler
I understand that. I was simply saying that your assertion that it
wouldn't clobber a file that lacked the "auto-generated" line was not
the current reality. It was unclear to me from that message whether
you were discussing actual behavior or ideal behavior, so I tested it
myself. Sorry, I should have put a smiley after my SVN comment. :-D
I like your proposed warning.
Chris
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software
(http://www.media-landscape.com/) and partners in the revolutionary
Croquet project (http://www.opencroquet.org/)