How do you build the haddocks for a boot library?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How do you build the haddocks for a boot library?

GHC - devs mailing list
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
https://ghc.haskell.org/trac/ghc/wiki/Building/Docs#Haddockdocumentation.

Sadly, when I run "make html" in libraries/ghc-prim or libraries/base
I get the following error:

    GNUmakefile:3: libraries/ghc-prim/mk/sub-makefile.mk: No such file
or directory
    make: *** No rule to make target
'libraries/ghc-prim/mk/sub-makefile.mk'. Stop.

What should I do instead?

Cheers,
Simon
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: How do you build the haddocks for a boot library?

Ben Gamari-3
Simon Jakobi via ghc-devs <[hidden email]> 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
> https://ghc.haskell.org/trac/ghc/wiki/Building/Docs#Haddockdocumentation.
>
> Sadly, when I run "make html" in libraries/ghc-prim or libraries/base
> I get the following error:
>
>     GNUmakefile:3: libraries/ghc-prim/mk/sub-makefile.mk: No such file
> or directory
>     make: *** No rule to make target
> 'libraries/ghc-prim/mk/sub-makefile.mk'. Stop.
>
> What should I do instead?
>
Indeed this is a bug. See D4580 for a fix.

Cheers,

- Ben

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How do you build the haddocks for a boot library?

GHC - devs mailing list
Ah, ok! Thanks for the fix, Ben!

2018-04-09 17:13 GMT+02:00 Ben Gamari <[hidden email]>:

> Simon Jakobi via ghc-devs <[hidden email]> 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
>> https://ghc.haskell.org/trac/ghc/wiki/Building/Docs#Haddockdocumentation.
>>
>> Sadly, when I run "make html" in libraries/ghc-prim or libraries/base
>> I get the following error:
>>
>>     GNUmakefile:3: libraries/ghc-prim/mk/sub-makefile.mk: No such file
>> or directory
>>     make: *** No rule to make target
>> 'libraries/ghc-prim/mk/sub-makefile.mk'. Stop.
>>
>> What should I do instead?
>>
> Indeed this is a bug. See D4580 for a fix.
>
> Cheers,
>
> - Ben
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs