[Hackage] #250: 'haddock --executables" should dump the haddock interface too

Hackage trac at galois.com
Thu Feb 28 08:14:25 EST 2008

#250: 'haddock --executables" should dump the haddock interface too
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.8.2          |     Platform:  Linux  
Comment (by guest):

 No it is not. You are right, but I saw a simple solution in front of me
 and I adopted it...;)

 I'm reading Simple.Install right now and, if I understand it correctly, I
 think we should change something here to check if the '-executables' flag
 is used:

       copyFileVerbose verbosity
                       (haddockPref pkg_descr </> haddockName pkg_descr)
                       (interfacePref </> haddockName pkg_descr)

 if you want I can send an amended patch when I find a second to study a
 bit the code. But maybe you already have the fix in mind.

 Let me know.

 Andrea Rossato

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/250#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list