[project @ 2002-05-28 19:22:04 by sof]
[ghc-base.git] / Makefile
index 9fac0fa..917f0a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.25 2002/04/26 13:26:39 simonmar Exp $
+# $Id: Makefile,v 1.28 2002/05/27 14:30:49 simonmar Exp $
 
 TOP=..
 include $(TOP)/mk/boilerplate.mk
@@ -65,6 +65,7 @@ GHC/PrimopWrappers.hs: $(GHC_COMPILER_DIR)/prelude/primops.txt
 
 boot :: GHC/PrimopWrappers.hs
 
+EXTRA_SRCS  += GHC/PrimopWrappers.hs
 CLEAN_FILES += GHC/PrimopWrappers.hs
 
 #-----------------------------------------------------------------------------
@@ -90,7 +91,6 @@ endif # TARGETPLATFORM = i386-unknown-mingw32
 # Doc building with Haddock
 
 EXCLUDED_HADDOCK_SRCS = \
-       GHC/Err.lhs \
        Data/Generics.hs \
        GHC/PArr.hs
 
@@ -110,7 +110,7 @@ haddock-docs : $(HS_PPS)
        $(GHC_INPLACE) $(HC_OPTS) -D__HADDOCK__ -E -cpp $< -o $<.tmp && sed -e 's/^#.*//' <$<.tmp >$@
 
 %.raw-hs : %.hs
-       $(GHC_INPLACE) $(HC_OPTS) -E -cpp $< -o $<.tmp && sed -e 's/^#.*//' <$<.tmp >$@
+       $(GHC_INPLACE) $(HC_OPTS) -D__HADDOCK__ -E -cpp $< -o $<.tmp && sed -e 's/^#.*//' <$<.tmp >$@
 
 # -----------------------------------------------------------------------------