summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-09-07 15:18:55 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-09-07 15:18:55 +0000
commit9de82d47542f75325e2db14632c1f7ee81d2da75 (patch)
treea9dd1ee93ab8201de0df06bbe76cd995590b9793 /mk
parent8c3e6304e6a5fe3dbbdf2223de0ccc0f96d2a913 (diff)
downloadhaskell-9de82d47542f75325e2db14632c1f7ee81d2da75.tar.gz
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.
Diffstat (limited to 'mk')
-rw-r--r--mk/package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/package.mk b/mk/package.mk
index 1cd090a80d..cbec48dd80 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