C headers in cabal dependencies

Hi, I've been using 'install-includes' in a package. I sometimes make small changes to those include files, and I've seen that cabal doesn't consider then dependencies, i.e., doesn't rebuild .hsc files depending on then. I'm not sure if this is an error, as parsing hsc2hs input may not be cabal task. Anyway, I would like to suggest that files in install-includes be considered dependencies and that files under 'includes' be also included when processing '.hsc' files. Thanks. Best, Maurício

On Wed, 2009-10-28 at 17:34 -0200, Maurício CA wrote:
Hi,
I've been using 'install-includes' in a package. I sometimes make small changes to those include files, and I've seen that cabal doesn't consider then dependencies, i.e., doesn't rebuild .hsc files depending on then.
I'm not sure if this is an error, as parsing hsc2hs input may not be cabal task. Anyway, I would like to suggest that files in install-includes be considered dependencies and that files under 'includes' be also included when processing '.hsc' files.
This is an instance of the long standing lack of module/file dependency tracking in Cabal: http://hackage.haskell.org/trac/hackage/ticket/15 Duncan
participants (2)
-
Duncan Coutts
-
Maurício CA