aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-02-12 18:57:49 +0000
committerIan Lynagh <igloo@earth.li>2009-02-12 18:57:49 +0000
commitcf426e27f1ba5cc5c1a7320e6f1ece5f58ea8ffd (patch)
tree085bf71d7d905cfc9119734dcc04bb704d378908
parentf6b1674f0fb6bf7353575ec3cec78d9f00326da7 (diff)
Don't build the library when building in the GHC tree
-rw-r--r--haddock.cabal4
1 files changed, 4 insertions, 0 deletions
diff --git a/haddock.cabal b/haddock.cabal
index b5c37421..98bf7fa5 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -143,3 +143,7 @@ library
cpp-options: -D__GHC_PATCHLEVEL__=3
if impl(ghc == 6.8.2)
cpp-options: -D__GHC_PATCHLEVEL__=2
+
+ if flag(in-ghc-tree)
+ buildable: False
+