Ticket #123 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

option to configure haddock documentation install directory

Reported by: jvlask@… Owned by: ijones
Priority: high Milestone:
Component: Cabal library Version: 1.1.6
Severity: normal Keywords:
Cc: Difficulty: easy (<4 hours)
GHC Version: 6.4.2 Platform: Windows

Description

cabal configure command should allow and option to determine set the haddock generated documentation install directory. the .installed-pkg-config already has this option:

eg:

haddock-interfaces: \hstls\dat\xhtml-3000.0.1\doc\html\xhtml.haddock haddock-html: \hstls\dat\xhtml-3000.0.1\doc\html

just need a way of setting it in configure step rather than by editting the file manually

Change History

Changed 6 years ago by guest

  • priority changed from normal to high

datadir determines where the haddock docs and interface file are put, but I don't know if it affects any other files too. Perhaps a more specific option would be useful?

Changed 6 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

There is now a configure --docdir flag that specifies the documentation directory independent of the datadir.

(It's also now documented!)

Note: See TracTickets for help on using tickets.