diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2010-09-23 12:35:58 +0000 |
|---|---|---|
| committer | Simon Marlow <marlowsd@gmail.com> | 2010-09-23 12:35:58 +0000 |
| commit | b6fa4b36c7b0c38f36d79b2a74f1575fa0bee052 (patch) | |
| tree | 50f81b3912b007d6d934ef2eeaa99d417d7e94db | |
| parent | c3727966827180fafa55e02be47dcdd49bd17eb8 (diff) | |
| download | haskell-b6fa4b36c7b0c38f36d79b2a74f1575fa0bee052.tar.gz | |
move CHECKED settings to the right place
| -rw-r--r-- | ghc.mk | 32 |
1 files changed, 17 insertions, 15 deletions
@@ -485,6 +485,23 @@ $(error Unknown integer library: $(INTEGER_LIBRARY)) endif endif +# ---------------------------------------------- +# Checking packages with 'cabal check' + +ifeq "$(CHECK_PACKAGES)" "YES" +all: check_packages +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. +CHECKED_libraries/dph/dph-seq = YES +CHECKED_libraries/dph/dph-par = YES +# In compiler's case, include-dirs points outside of the source tree +CHECKED_compiler = YES + # ----------------------------------------------------------------------------- # Include build instructions from all subdirs @@ -655,21 +672,6 @@ $(foreach pkg,$(PACKAGES) $(PACKAGES_STAGE2),$(eval libraries/$(pkg)_dist-instal # Add $(GhcBootLibHcOpts) to all stage0 package builds $(foreach pkg,$(STAGE0_PACKAGES),$(eval libraries/$(pkg)_dist-boot_HC_OPTS += $$(GhcBootLibHcOpts))) -# ---------------------------------------------- -# Checking packages with 'cabal check' - -ifeq "$(CHECK_PACKAGES)" "YES" -all: check_packages -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. -CHECKED_libraries/dph/dph-seq = YES -CHECKED_libraries/dph/dph-par = YES -# In compiler's case, include-dirs points outside of the source tree -CHECKED_compiler = YES - # ----------------------------------------------- # Haddock-related bits |
