#2689: make maintainer-clean leaves generated files and directories
---------------------------------+------------------------------------------
Reporter: claus | Owner:
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 6.11 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown/Multiple | Os: Unknown/Multiple
---------------------------------+------------------------------------------
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 <[EMAIL PROTECTED]>
* 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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2689>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs