
On 9 March 2015 at 15:04, Andrew Cowie
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com