[Haskell-cafe] cabal, Setup.lhs example
stephen.tetley at gmail.com
Mon Jul 19 12:54:26 EDT 2010
This will the job for a UserHooks - probably preBuild? - see
postConf - Hook to run after configure command
preBuild - Hook to run before build command. Second arg indicates
buildHook - Over-ride this hook to get different behaviour during build.
lhs2Tex uses user hooks extensively.
If that's too complicated, my own library Wumpus-Core uses a preSDist
hook in Setup.hs to make sure I've bumped the version number before I
ship the library.
More information about the Haskell-Cafe