Skip to content

Cleaning on Windows currently fails

Cleaning on Windows currently fails, due to this:

$ cat Makefile

bar/baz/%.hc : bar/baz/%.hs
        echo wibble

foo:
        rm -rf bar 

$ mkdir -p bar/baz
$ make foo 
rm -rf bar 
rm: cannot remove directory `bar': Directory not empty
make: *** [foo] Error 1
$

To work around the problem, we can not load all of the make rules when the target is clean (or maintainer-clean or distclean).

Trac metadata
Trac field Value
Version 6.11
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information