X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=b33a6b9f5f6680542c488d895d802e51a623693c;hb=2d1262b6acb5aac55777000806fc1b0e5ea57906;hp=7792b5abc04e66e4555b183e1e037e2053731860;hpb=c56aacad40b7afc8244676a4de5fa976cfd4cfb7;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index 7792b5a..b33a6b9 100644 --- a/ghc.mk +++ b/ghc.mk @@ -568,6 +568,14 @@ $(foreach lib,$(PACKAGES) $(PACKAGES_STAGE2),$(eval \ libraries/$(lib)_dist-install_DISABLE = YES)) 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 + include $(patsubst %, %/ghc.mk, $(BUILD_DIRS)) # We need -fno-warn-deprecated-flags to avoid failure with -Werror @@ -597,6 +605,10 @@ libraries/index.html: $(ALL_HADDOCK_FILES) $(eval $(call all-target,library_doc_index,libraries/index.html)) INSTALL_LIBRARY_DOCS += libraries/*.html libraries/*.gif libraries/*.css libraries/*.js +ifeq "$(CHECK_PACKAGES)" "YES" +all: check_packages +endif + # ----------------------------------------------------------------------------- # Bootstrapping libraries