From 79d677bfebe31714ec41a4dacf4423bb1b0b2a47 Mon Sep 17 00:00:00 2001 From: simonpj Date: Fri, 30 May 2003 09:19:40 +0000 Subject: [PATCH] [project @ 2003-05-30 09:19:39 by simonpj] Stop omitting Data.Generics from Haddockising, now that suitable #ifdefs make it go through. The #ifdefs mean that the documentation won't show the exports (:+:) etc, until Haddock learns about them. Merge to stable (but only this patch... not the earlier post-fork changes to Data.Generics) --- Data/Generics.hs | 2 ++ Makefile | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Data/Generics.hs b/Data/Generics.hs index 7de6995..e63d04a 100644 --- a/Data/Generics.hs +++ b/Data/Generics.hs @@ -51,8 +51,10 @@ module Data.Generics ( import Prelude -- So that 'make depend' works #ifdef __GLASGOW_HASKELL__ +#ifndef __HADDOCK__ import GHC.Base ( (:*:)(..), (:+:)(..), Unit(..) ) #endif +#endif import Data.Dynamic import Control.Monad diff --git a/Makefile b/Makefile index d0226f4..72446d9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.42 2003/05/23 10:12:28 ross Exp $ +# $Id: Makefile,v 1.43 2003/05/30 09:19:39 simonpj Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -98,7 +98,6 @@ endif # OBJECT_FILEFORMAT = PEi # Doc building with Haddock EXCLUDED_HADDOCK_SRCS = \ - Data/Generics.hs \ GHC/PrimopWrappers.hs \ GHC/PArr.hs -- 1.7.10.4