[GHC] #16105: Haddock's resource directory isn't properly handled by Hadrian

GHC ghc-devs at haskell.org
Thu Jan 17 17:47:05 UTC 2019


#16105: Haddock's resource directory isn't properly handled by Hadrian
-------------------------------------+-------------------------------------
        Reporter:  harpocrates       |                Owner:  harpocrates
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  8.6.3
  (Hadrian)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://gitlab.haskell.org/ghc/ghc/merge_requests/107
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"2e05912086bbb8eab213d44af300ecc396d912aa/ghc" 2e05912/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2e05912086bbb8eab213d44af300ecc396d912aa"
 Hadrian: handle Haddock's resource directory

 Fixes #16105

   * Require Haddock's resource as runtime dependencies of the Haddock
     builder. This means we no longer have to `need` particular resources
     in every other documentation rule.

   * Do a _tracked_ copy of both the 'html' and 'latex' folder resource
     folders.

   * Move resources into `stage1/lib` (NB: the `haddock` binary goes in
     `stage1/bin`). Besides now actually matching the Haddock script
     wrapper generated by BinaryDist, this also prepares for Haddock
     in relocatable build folder detecting its own resources.
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16105#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list