
Hello everyone, I was able to get dependency analysis working without touching a single Cabal source file. I've added a new module Distribution.Simple.DepBuild, and a new version of Setup.lhs named SetupDep.lhs. The only difference is that the buildHook is replaced. I added a few lines to the Makefile so all you need to do is type "make setup-dep ; ./setup-dep ...", and it should work. Please try it out. I've made the build messages print every command as it's run, as well as a few other cleanups. This is a new patch, not based on the previous one I sent. Pete

On Mon, 2007-08-27 at 20:58 -0400, Peter Gavin wrote:
Hello everyone,
I was able to get dependency analysis working without touching a single Cabal source file. I've added a new module Distribution.Simple.DepBuild, and a new version of Setup.lhs named SetupDep.lhs. The only difference is that the buildHook is replaced.
Ah, good idea. So we could integrate this experimental code (though probably after we fork for the next release) and anyone could try it just by using a custom Setup.hs. Duncan
participants (2)
-
Duncan Coutts
-
Peter Gavin