From dff6eb8e766500d4dbd2715717ee23cf1107646f Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 3 Oct 2008 00:53:30 +0000 Subject: [PATCH] stop linking to per-entity source, which breaks haddock --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b13b75e4..9d762a005 100644 --- a/Makefile +++ b/Makefile @@ -59,8 +59,9 @@ api-doc: api-doc-dir $(MAIN) api-doc-with-source: api-doc-dir colourised-source $(MAIN) echo "Generating haddock api docs" ; \ - haddock --no-warnings --ignore-all-exports -B `ghc --print-libdir` -o api-doc -h --source-module=src-%{MODULE/./-}.html --source-entity=src-%{MODULE/./-}.html#%N $(filter-out %api-doc-dir colourised-source,$^) ; \ + haddock --no-warnings --ignore-all-exports -B `ghc --print-libdir` -o api-doc -h --source-module=src-%{MODULE/./-}.html $(filter-out %api-doc-dir colourised-source,$^) ; \ cp api-doc/index.html api-doc/modules-index.html +#--source-entity=src-%{MODULE/./-}.html#%N # munge haddock and hoogle into a rough but useful framed layout # ensure that the hoogle cgi is built with base target "main"