[Haskell-cafe] Building documentation only?
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Mon Mar 9 04:10:28 UTC 2015
On 9 March 2015 at 15:04, Andrew Cowie <andrew at operationaldynamics.com> wrote:
> I've got a sandbox set up to build a local copy of Haddock documentation for
> various packages I'm using.
>
> Is there a way to get Cabal to just run Haddock and not actually build the
> packages in question? If the haddock program needs the compiled definitions
> then no, but I'm getting the impression it just runs over the raw sources.
>
> The config file I'm using at the moment is a very simple:
>
> $ cat cabal.config
> Documentation: True
> $
>
> which is doing the trick to get Haddock run, I'm just wondering if there's
> ActualBuild: False equivalent?
cabal configure && cabal haddock && cp -r dist/doc/html/<package name>
/path/to/destination/ ?
>
> AfC
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list