[Hackage] #242: The Make build-type doesn't pass haddock options to make

Hackage trac at galois.com
Sat Feb 16 08:40:13 EST 2008


#242: The Make build-type doesn't pass haddock options to make
----------------------------------+-----------------------------------------
  Reporter:  ross at soi.city.ac.uk  |        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:                       |  
----------------------------------+-----------------------------------------
 The Simple build-type works out the correct options for haddock, including
 the extra options for haddock2 and --read-interface options taking into
 account the --html-location option.  For example this is used by hackageDB
 to generate correct inter-package links.  There is no way for the makefile
 to figure out where those links should point.  (e.g. the wxcore package.)

 The Make build-type ought to put these options in a HADDOCKOPTS setting on
 the make command line, so that the makefile can pass these to haddock.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/242>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list