How do you build the haddocks for a boot library?

Ben Gamari ben at
Mon Apr 9 15:13:05 UTC 2018

Simon Jakobi via ghc-devs <ghc-devs at> writes:

> Hi,
> I have some changes to the haddocks in ghc-prim which are re-exported
> from base. In order to check that I got the syntax right I've tried to
> build the haddocks by following
> Sadly, when I run "make html" in libraries/ghc-prim or libraries/base
> I get the following error:
>     GNUmakefile:3: libraries/ghc-prim/mk/ No such file
> or directory
>     make: *** No rule to make target
> 'libraries/ghc-prim/mk/'. Stop.
> What should I do instead?
Indeed this is a bug. See D4580 for a fix.


- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list