From 9de82d47542f75325e2db14632c1f7ee81d2da75 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 7 Sep 2006 15:18:55 +0000 Subject: [PATCH] Remove the -optP-P from .raw-hs generation We need the #line directives left in, so that Haddock can figure out what the name of the original source file was called, which is necessary for generating source links. You probably now need an updated Haddock to generate HTML from the libraries, but a release will be forthcoming shortly. --- mk/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/package.mk b/mk/package.mk index 1cd090a..cbec48d 100644 --- a/mk/package.mk +++ b/mk/package.mk @@ -387,10 +387,10 @@ $(HTML_DOC) : $(HS_PPS) CLEAN_FILES += $(PACKAGE).haddock %.raw-hs : %.lhs - $(HC) $(HC_OPTS) -D__HADDOCK__ -E -optP-P $< -o $@ + $(HC) $(HC_OPTS) -D__HADDOCK__ -E $< -o $@ %.raw-hs : %.hs - $(HC) $(HC_OPTS) -D__HADDOCK__ -E -optP-P $< -o $@ + $(HC) $(HC_OPTS) -D__HADDOCK__ -E $< -o $@ HTML_INSTALL_DIR = $(datadir)/html/libraries/$(PACKAGE) # NOT the same as HTML_DIR_INSTALLED when BIN_DIST is on -- 1.7.10.4