diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-27 18:27:31 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-27 18:27:31 +0000 |
commit | 1db693badb37e35cb6ed0170e931d61b5234e863 (patch) | |
tree | 3b8d8b45b59b3401579f523665fb32a3a9aa08c7 /libraries/Makefile | |
parent | 49342bed0014d16bc895864badb6e363f1d52e25 (diff) | |
download | haskell-1db693badb37e35cb6ed0170e931d61b5234e863.tar.gz |
When haddocking the libraries, tell Cabal where haddock is
We can't do it when configuring, because we haven't built haddock yet
Diffstat (limited to 'libraries/Makefile')
-rw-r--r-- | libraries/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/Makefile b/libraries/Makefile index a2729dcaf9..7459bc5a7d 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -295,8 +295,9 @@ doc: $(foreach SUBDIR,$(DOC_SUBDIRS),doc.library.$(SUBDIR)) # Making hyperlinked source only works if we have hscolour ifneq "$(HSCOLOUR)" "" -CABAL_HADDOCK_FLAGS=--hyperlink-source +CABAL_HADDOCK_FLAGS += --hyperlink-source endif +CABAL_HADDOCK_FLAGS += --with-haddock=$(FPTOOLS_ABS_TOP)/utils/haddock/install-inplace/bin/haddock $(foreach SUBDIR,$(DOC_SUBDIRS),doc.library.$(SUBDIR)):\ doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \ |