summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-15 23:41:21 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-15 23:45:13 +0000
commitcdf16555ef5e2670a01bb5fa1462e7177b921fe0 (patch)
treec9a6cd9ce9a84c2734f8d4f08d383e8e4a1a0163 /compiler/ghc.mk
parent3c839acd302115e5e43668f348b64784cd76413f (diff)
downloadhaskell-cdf16555ef5e2670a01bb5fa1462e7177b921fe0.tar.gz
Build system tweak: Do the package checks at configure time
This removes the '.PHONY' rule, so means that "make" in a built tree won't repeat the check. We also now check the .cabal files for the executables as well as the libraries.
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 9621f1de4b..854b756330 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -24,6 +24,11 @@ compiler_stage3_MKDEPENDC_OPTS = -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES
compiler_stage1_C_FILES_NODEPS = compiler/parser/cutils.c
+# This package doesn't pass the Cabal checks because include-dirs
+# points outside the source directory. This isn't a real problem, so
+# we just skip the check.
+compiler_NO_CHECK = YES
+
ifneq "$(BINDIST)" "YES"
compiler/stage1/package-data.mk : compiler/stage1/build/Config.hs
compiler/stage2/package-data.mk : compiler/stage2/build/Config.hs