[Hackage] #236: Installed package config refers to nonexisting haddock interface and html files

#236: Installed package config refers to nonexisting haddock interface and html
files
----------------------------+-----------------------------------------------
Reporter: kolmodin | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------+-----------------------------------------------
Cabal generates the {{{haddock-interfaces}}} and {{{haddock-html}}}
package fields even if the haddock documentation is not built nor
installed.
Instead of assuming haddock is used, it should add the fields iff needed
upon register (install = copy + register), where enough information should
be available to make a more clever installation.
Example {{{ghc-pkg describe binary}}} built without haddock:
{{{
name: binary
version: 0.4.1
license: BSD3
copyright:
maintainer: Lennart Kolmodin, Don Stewart

#236: Installed package config refers to nonexisting haddock interface and html files ----------------------------+----------------------------------------------- Reporter: kolmodin | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * difficulty: normal => easy (<4 hours) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/236#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#236: Installed package config refers to nonexisting haddock interface and html files ----------------------------+----------------------------------------------- Reporter: kolmodin | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by duncan): See also http://hackage.haskell.org/trac/ghc/ticket/2958 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/236#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage