Ticket #3233 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Fixed by:

Sat May 16 00:19:47 BST 2009  Ian Lynagh <igloo@earth.li>
  * Disable suffix rules when cleaning

Sat May 16 12:45:11 BST 2009  Ian Lynagh <igloo@earth.li>
  * Hide more make rules when cleaning
Note: See TracTickets for help on using tickets.