Commit 55f146c5 authored by simonmar's avatar simonmar
Browse files

[project @ 2003-05-29 13:36:39 by simonmar]

Also clean the Haddock interface file.
parent 5ed83923
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# $Id: package.mk,v 1.27 2003/05/23 10:00:04 simonmar Exp $ # $Id: package.mk,v 1.28 2003/05/29 13:36:39 simonmar Exp $
ifneq "$(PACKAGE)" "" ifneq "$(PACKAGE)" ""
...@@ -224,6 +224,8 @@ $(HTML_DOC) : $(HS_PPS) ...@@ -224,6 +224,8 @@ $(HTML_DOC) : $(HS_PPS)
$(foreach pkg, $(PACKAGE_DEPS), \ $(foreach pkg, $(PACKAGE_DEPS), \
--read-interface=../$(pkg),../$(pkg)/$(pkg).haddock) --read-interface=../$(pkg),../$(pkg)/$(pkg).haddock)
CLEAN_FILES += $(PACKAGE).haddock
%.raw-hs : %.lhs %.raw-hs : %.lhs
$(GHC) $(HC_OPTS) -D__HADDOCK__ -E -cpp $< -o $<.tmp && sed -e 's/^#.*//' <$<.tmp >$@ $(GHC) $(HC_OPTS) -D__HADDOCK__ -E -cpp $< -o $<.tmp && sed -e 's/^#.*//' <$<.tmp >$@
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment