Building Haddock in GHC source tree (Re: Preparing for a review of pattern synonyms)

Simon Marlow marlowsd at gmail.com
Tue Dec 10 14:47:27 UTC 2013


Do you have HADDOCK_DOCS = NO in your mk/build.mk?

On 10/12/2013 14:24, Dr. ERDI Gergo wrote:
> On Tue, 10 Dec 2013, Dr. ERDI Gergo wrote:
>
>> OK, I'll add pattern synonym support for Haddock.
>
> Ummm..., so how do I build the version of Haddock included in the GHC
> source tree under utils? I tried just
>
> $ cd utils/haddock
> $ make
>
> but that fails with
>
> ===--- building final phase
> make -r --no-print-directory -f ghc.mk phase=final all_utils/haddock
> make[2]: *** No rule to make target `all_utils/haddock'.  Stop.
> make[1]: *** [all_utils/haddock] Error 2
> make[1]: Leaving directory `/home/cactus/prog/haskell/ghc/ghc'
>


More information about the ghc-devs mailing list