Cabal 1.8 clean hook

C Rodrigues red5_2 at hotmail.com
Mon Nov 30 20:54:30 EST 2009



Updating a package to work with Cabal 1.8, I found that the clean hook no longer gets a LocalBuildInfo parameter.  I've been using the Distribution.Simple.Program facilities to run 'make'.  Without access to a configured 'make' at cleanup time, I can't make clean.


I can call configureProgram myself to get the program, or just use System.Cmd. What's a good practice?


-Chris
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/


More information about the cabal-devel mailing list