
19 Jul
2010
19 Jul
'10
12:54 p.m.
Hi Tom This will the job for a UserHooks - probably preBuild? - see Distribution.Simple.UserHooks. postConf - Hook to run after configure command preBuild - Hook to run before build command. Second arg indicates verbosity level. 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. Best wishes Stephen