make maintainer-clean leaves generated files and directories
Before updating my GHC head repo, I did
make maintainer-clean. Recalling some recent bugs triggered by left-over files, I thought I'd try and look for them in advance, and found rather a lot of them.
For the purpose, I've got an alternative boringfile (attached) that just hides subrepos and stuff I don't suspect at the moment.
$ make maintainer-clean $ cp .darcs-boring .darcs-boring.safe $ cp .darcs-subrepos .darcs-boring $ darcs cha --last=1 Sat Oct 4 18:53:51 GMT Daylight Time 2008 Ian Lynagh <firstname.lastname@example.org> * prep-bin-dist-mingw complains if it finds a bad version of windres $ darcs wh -s M ./.darcs-boring -211 +18 M ./darcs-all -2 +68 $ darcs wh -l >mystuff/leftovers.log -- output attached $ cp .darcs-boring.safe .darcs-boring
Perhaps this could be made into an automated test, so that leftovers don't keep piling up until someone trips over them (though you probably don't want the buildbots to clean their results away, in case you need to inspect them later)?
See also the related ticket on
make distclean, #1693.