From: David Waern Date: Fri, 9 Nov 2007 00:08:06 +0000 (+0000) Subject: Filter out GHC.Prim also for the Haddock step X-Git-Tag: 2008-05-28~116 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f127e5aecaf1890bca3b2ef4aad6dac6b0aefe9a;p=ghc-base.git Filter out GHC.Prim also for the Haddock step Please merge to the GHC 6.8.2 branch --- diff --git a/Setup.hs b/Setup.hs index 78e5626..79c60e9 100644 --- a/Setup.hs +++ b/Setup.hs @@ -22,7 +22,10 @@ main = do let hooks = defaultUserHooks { makefileHook = build_primitive_sources $ filter_modules_hook $ makefileHook defaultUserHooks, - instHook = filter_modules_hook + haddockHook = build_primitive_sources + $ filter_modules_hook + $ haddockHook defaultUserHooks, + instHook = filter_modules_hook $ instHook defaultUserHooks } defaultMainWithHooks hooks