[Pkg-haskell-commits] darcs: ghc: Fix missing instance documentation (Closes: #609445) This was a Debian-specific regression, introduced in the fix for #566331 or later caused by it, and fixed by building haddock with -DGHCI.

Joachim Breitner mail at joachim-breitner.de
Tue Aug 30 21:11:31 UTC 2011


Tue Aug 30 19:48:41 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * Fix missing instance documentation (Closes: #609445) This was a Debian-specific regression, introduced in the fix for #566331 or later caused by it, and fixed by building haddock with -DGHCI.
  Ignore-this: f863c6040ccb59aacb8ffb6c14a737a9

    M ./changelog +3
    M ./rules +3

Tue Aug 30 19:48:41 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * Fix missing instance documentation (Closes: #609445) This was a Debian-specific regression, introduced in the fix for #566331 or later caused by it, and fixed by building haddock with -DGHCI.
  Ignore-this: f863c6040ccb59aacb8ffb6c14a737a9
diff -rN -u old-ghc//changelog new-ghc//changelog
--- old-ghc//changelog	2011-08-30 21:11:30.414063079 +0000
+++ new-ghc//changelog	2011-08-30 21:11:30.598057266 +0000
@@ -2,6 +2,9 @@
 
   * Remove ghc-doc dependency on ghc, it did not have the desired effect.
     Instead call ghc-pkg recache in ghc-doc’s trigger as well. 
+  * Fix missing instance documentation (Closes: #609445)
+    This was a Debian-specific regression, introduced in the fix for #566331
+    or later caused by it, and fixed by building haddock with -DGHCI.
 
  -- Joachim Breitner <nomeata at debian.org>  Sat, 23 Jul 2011 09:29:41 +0200
 
diff -rN -u old-ghc//rules new-ghc//rules
--- old-ghc//rules	2011-08-30 21:11:30.410061791 +0000
+++ new-ghc//rules	2011-08-30 21:11:30.594058064 +0000
@@ -126,6 +126,9 @@
 		./Setup configure --prefix=/usr --with-compiler=../../../inplace/bin/ghc-stage2 \
 			--package-db=../../../inplace/lib/package.conf.d/ \
 			--htmldir=/usr/share/doc/ghc-haddock/html/ \
+			$$(if inplace/bin/ghc-stage2 --info | grep '"Have interpreter","NO"';\
+			   then echo "--ghc-option=-DGHCI";\
+			   fi) \
 		; \
 		./Setup build
 





More information about the Pkg-haskell-commits mailing list