X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=8cc4bf39f540a3298b4cc0214d227c93e43aaa8b;hb=9a53a070bb647bd7796596e27a6348ae3ba6eed7;hp=fab55a2ef06d0b976d41e3dd48972c17741924c1;hpb=a536df7bb2ec7be220b837e6d298225f25cecedb;p=ghc-base.git diff --git a/Makefile b/Makefile index fab55a2..8cc4bf3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.31 2002/06/08 13:11:27 panne Exp $ +# $Id: Makefile,v 1.36 2002/07/02 13:13:36 simonmar Exp $ TOP=.. include $(TOP)/mk/boilerplate.mk @@ -15,6 +15,7 @@ ALL_DIRS = \ Control/Monad/ST \ Data \ Data/Array \ + Data/STRef \ Database \ Debug \ Debug/QuickCheck \ @@ -104,23 +105,8 @@ EXCLUDED_HADDOCK_SRCS = \ Data/Generics.hs \ GHC/PArr.hs -HS_PPS = $(addsuffix .raw-hs, $(basename $(filter-out $(EXCLUDED_HADDOCK_SRCS), $(HS_SRCS)))) - -HADDOCK = $(FPTOOLS_TOP)/haddock/src/haddock-inplace - -# Urgh, hack needed to ensure that the value of HS_SRCS is computed in time for -# the docs rule below. -PRE_SRCS := $(ALL_SRCS) - -.PHONY: docs -haddock-docs : $(HS_PPS) - $(HADDOCK) -t "Haskell Core Libraries" -h -s "." $(HS_PPS) - -%.raw-hs : %.lhs - $(GHC_INPLACE) $(HC_OPTS) -D__HADDOCK__ -E -cpp $< -o $<.tmp && sed -e 's/^#.*//' <$<.tmp >$@ - -%.raw-hs : %.hs - $(GHC_INPLACE) $(HC_OPTS) -D__HADDOCK__ -E -cpp $< -o $<.tmp && sed -e 's/^#.*//' <$<.tmp >$@ +SRC_HADDOCK_OPTS += -t "Haskell Core Libraries (base package)" \ + --no-implicit-prelude -p prologue.txt # -----------------------------------------------------------------------------