building only the docs
duncan.coutts at worc.ox.ac.uk
Sat Dec 29 14:00:49 EST 2007
On Mon, 2007-12-24 at 12:10 +0000, Ian Lynagh wrote:
> On Mon, Dec 24, 2007 at 08:30:32AM +0700, Peter Gammie wrote:
> > Do you expect this to work?
> > <setup> clean
> > <setup> configure
> > <setup> haddock
> > <setup> install
> > I get, e.g.:
> > $ runghc Setup install
> > Installing: /home/peteg/lib/HaXml-1.13.2/ghc-6.6.1
> > Installing: /home/peteg/bin
> > Setup.hs: Error: Could not find module:
> > Text.ParserCombinators.HuttonMeijerWallace with any suffix: ["hi"]
> > whereas if I swap "build" for "haddock" line the "install" line does
> > not complain about the lack of docs to install.
> Related to this, there'e no way to install only the docs or only the
> binaries when both are built, as far as I know. This isn't a huge
> problem, but it ought to be easy to fix and it would be nice to have.
> It would have made things slightly simpler for me when building separate
> -doc and -dev Debian packages for Cabal libraries, and it also would
> mean we could do the right thing in GHC's "make install-docs".
cabal install --docs --everything-else
What would the user interface be? Are there any other categories than
docs? Is it additive, subtractive? Can the default be explained in terms
of the new proposed flags?
More information about the cabal-devel