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

GHC ghc-devs at haskell.org
Fri Dec 28 22:47:38 UTC 2018


#16105: Haddock's resource directory isn't properly handled by Hadrian
-------------------------------------+-------------------------------------
           Reporter:  harpocrates    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Build System   |           Version:  8.6.3
  (Hadrian)                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I'm still investigating, but several things look off about how Hadrian
 handles Haddock's resources (which are in `utils/haddock/haddock-
 api/resource`).

   * only the `html` folder is being copied, which means that there is no
 way `haddock --latex` will work
   * the resources (both `html` and `latex`) should probably be specified
 as `runtimeDependencies` of the `Haddock` builder instead of woven into
 the doc rules
   * the Haddock wrapper in the `BinaryDist` rules specifies the wrong
 `--lib` dir (we currently put Haddock's resources in the `doc` folder, not
 the `lib` folder as we do for the Make system)

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


More information about the ghc-tickets mailing list