Re: [Module-build-general] [BUG] ./Build realclean does not rm Makefile
Status: Beta
Brought to you by:
kwilliams
|
From: Steve P. <sp...@qu...> - 2003-07-31 18:43:38
|
On Tuesday, July 29, 2003, at 06:57 pm, Ken Williams wrote: > but mixing the two, i.e. > > perl Makefile.PL > ... > Build realclean > > will leave an orphan Makefile around. > > As for a fix, it's probably not a great idea to remove the Makefile > when doing 'Build realclean', but maybe the subsequent failure modes > could be cleaned up a bit. Don't see why the Makefile shouldn't be removed by 'Build realclean' - unless it's been modified or is not part of the project. But it would be easy enough to scan it for some auto-generated text before deleting. At any rate, I'm easy either way - if 'make realclean' checks for Build before trying to run it, that works for me. In fact, it might be an idea for all the targets to do that? On second thought, does it really matter if the Makefile dies gracefully or not in this situation? -Steve |