summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-05-27 14:30:49 +0000
committersimonmar <unknown>2002-05-27 14:30:49 +0000
commite1e58182cc82d1baaa2218c1cda759ba41934384 (patch)
treeba971b1a6bf22689bab2ae6c3f0f43dac9851f5b /libraries
parent1ce999f1c281004ddb467edfe45c6f20dd6a98ce (diff)
downloadhaskell-e1e58182cc82d1baaa2218c1cda759ba41934384.tar.gz
[project @ 2002-05-27 14:30:49 by simonmar]
Define __HADDOCK__ for .hs files as well as .lhs files.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Makefile b/libraries/base/Makefile
index b9ea94334b..917f0a201b 100644
--- a/libraries/base/Makefile
+++ b/libraries/base/Makefile
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.27 2002/05/10 13:16:55 simonmar Exp $
+# $Id: Makefile,v 1.28 2002/05/27 14:30:49 simonmar Exp $
TOP=..
include $(TOP)/mk/boilerplate.mk
@@ -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 >$@
# -----------------------------------------------------------------------------