Make :doc work for the ghc library
authorSimon Jakobi <simon.jakobi@gmail.com>
Thu, 26 Jul 2018 21:17:17 +0000 (17:17 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 27 Jul 2018 15:40:42 +0000 (11:40 -0400)
commit25e1ea997524b1d9f9b1fc065b17e618b8f16f18
treeb44cb48d72d5bdb4fe8aad08a88911deb12ea437
parent7a3e1b25ff9a570851a59c4cf3600daa49867b9b
Make :doc work for the ghc library

We already include -haddock in the GhcLibHcOpts in order to include
the boot libraries' docs in their .hi-files.

By including -haddock in the GhcStage2HcOpts and GhcStage3HcOpts, we
make the docs for the ghc library also available to the GHCi :doc
command.

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4913
mk/config.mk.in