summaryrefslogtreecommitdiff
path: root/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 /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 'ghc.mk')
-rw-r--r--ghc.mk17
1 files changed, 0 insertions, 17 deletions
diff --git a/ghc.mk b/ghc.mk
index 8bd78596a5..3e926dc21d 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -566,23 +566,6 @@ libraries/dph/dph-lifted-copy_dist-install_EXCLUDED_WAYS := dyn
libraries/dph/dph-lifted-vseg_dist-install_EXCLUDED_WAYS := dyn
endif
-# ----------------------------------------------
-# Checking packages with 'cabal check'
-
-ifeq "$(phase)" "final"
-ifeq "$(CHECK_PACKAGES)" "YES"
-all: check_packages
-endif
-endif
-
-# These packages don't pass the Cabal checks because hs-source-dirs
-# points outside the source directory. This isn't a real problem in
-# these cases, so we just skip checking them.
-# NB. these must come before we include the ghc.mk files below, because
-# they disable the relevant rules.
-# In compiler's case, include-dirs points outside of the source tree
-CHECKED_compiler = YES
-
# -----------------------------------------------------------------------------
# Include build instructions from all subdirs