Ticket #3233 (closed bug: fixed)
Cleaning on Windows currently fails
| Reported by: | igloo | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 6.12.1 |
| Component: | Build System | Version: | 6.11 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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).
Change History
Note: See
TracTickets for help on using
tickets.
