summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authormniip <mniip@mniip.com>2020-04-22 18:27:39 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-23 18:33:21 -0400
commit72da0c29cd7c336cdce3b36d1dd9e8b65a53afbd (patch)
treee22c0e2cbb3c1d7f341ee2ff7da2e42a13b3d277 /compiler/ghc.mk
parentc42754d5fdd3c2db554d9541bab22d1b3def4be7 (diff)
downloadhaskell-72da0c29cd7c336cdce3b36d1dd9e8b65a53afbd.tar.gz
Add :doc to GHC.Prim
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 561926af44..d86aae9771 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -119,7 +119,8 @@ PRIMOP_BITS_NAMES = primop-data-decl.hs-incl \
primop-vector-uniques.hs-incl \
primop-vector-tys.hs-incl \
primop-vector-tys-exports.hs-incl \
- primop-vector-tycons.hs-incl
+ primop-vector-tycons.hs-incl \
+ primop-docs.hs-incl
PRIMOP_BITS_STAGE1 = $(addprefix compiler/stage1/build/,$(PRIMOP_BITS_NAMES))
PRIMOP_BITS_STAGE2 = $(addprefix compiler/stage2/build/,$(PRIMOP_BITS_NAMES))
@@ -166,6 +167,8 @@ compiler/stage$1/build/primop-vector-tys-exports.hs-incl: compiler/stage$1/build
"$$(genprimopcode_INPLACE)" --primop-vector-tys-exports < $$< > $$@
compiler/stage$1/build/primop-vector-tycons.hs-incl: compiler/stage$1/build/primops.txt $$$$(genprimopcode_INPLACE)
"$$(genprimopcode_INPLACE)" --primop-vector-tycons < $$< > $$@
+compiler/stage$1/build/primop-docs.hs-incl: compiler/stage$1/build/primops.txt $$$$(genprimopcode_INPLACE)
+ "$$(genprimopcode_INPLACE)" --wired-in-docs < $$< > $$@
# Usages aren't used any more; but the generator
# can still generate them if we want them back