X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc.mk;h=2c189b916ec906392d5bad51e189f447d88a53d4;hp=9eaa7cd3e204983a7a73e9ec4748d7f790032681;hb=9a977e72a47a0e0c2a8bbf254f8b85609f0937f9;hpb=8e63e8eae43292fbeb219740eadd798bde76760c diff --git a/ghc.mk b/ghc.mk index 9eaa7cd..2c189b9 100644 --- a/ghc.mk +++ b/ghc.mk @@ -442,9 +442,8 @@ PRIMOPS_TXT = $(GHC_COMPILER_DIR)/prelude/primops.txt libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs : $(GENPRIMOP_INPLACE) $(PRIMOPS_TXT) | $$(dir $$@)/. "$(GENPRIMOP_INPLACE)" --make-haskell-wrappers <$(PRIMOPS_TXT) >$@ -libraries/ghc-prim/GHC/Prim.hs : $(GENPRIMOP_INPLACE) $(PRIMOPS_TXT) - "$(GENPRIMOP_INPLACE)" --make-haskell-source <$(PRIMOPS_TXT) >$@ - +# Required so that Haddock documents the primops. +libraries/ghc-prim_dist-install_EXTRA_HADDOCK_SRCS = libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs # ----------------------------------------------------------------------------- # Include build instructions from all subdirs @@ -729,7 +728,7 @@ install_perl : $(INPLACE_PERL) endif # Windows ifneq "$(BINDIST)" "YES" -$(ghc-prim_HADDOCK_FILE): \ +$(ghc-prim-$(libraries/ghc-prim_dist-install_VERSION)_HADDOCK_FILE): \ libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs \ libraries/ghc-prim/dist-install/build/autogen/GHC/PrimopWrappers.hs endif # BINDIST