(Imported from Trac #159, reported by guest on 2007-09-27)
I've already posted this to the list, but I'm reposting it here in the hopes that it will generate some comments.
This patch adds dependency analysis to the build phase in Cabal packages. The code hooks in to the build system through the build user hook. The only compiler it currently supports is GHC, but it does support c2hs, hsc, and cpphs, as well as FFI stubs. It still needs support for building executables, split objects, and I'm sure a few other things I'm not thinking about right now.
Please try the patch out. If you run "make setup-dep", a version of setup using this patch will be built, which then can be run the way you'd usually run setup.
(Imported comment by @dcoutts on 2007-09-27)
(Imported comment by guest on 2008-01-24)
(Imported comment by @dcoutts on 2008-03-25)
Replying to guest:
* #216 - specify more kinds of dependencies in .cabal files
* #177 - check for required directories
* #262 - check for required foreign libraries
Different kind of dependencies, those are inter-package dependencies. This ticket is about make-style module/file dependencies. I'm renaming the ticket to make that clear.
Closing as there's been no activity in years.
We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.