Commit 8ca53757 authored by Ian Lynagh's avatar Ian Lynagh

Always haddock by default

Revert this patch:
    Matthias Kilian <kili@outback.escape.de>**20090920181319
    Don't build haddock if HADDOC_DOCS = NO, and disable HADDOC_DOCS
        if GhcWithInterpreter = NO
    Haddock uses TcRnDriver.tcRnGetInfo, which is only available if
    GHCI is built. Set HADDOC_DOCS to NO if GhcWithInterpreter is NO,
    and disable the haddock build if HADDOC_DOCS = NO.
parent 751203dd
......@@ -531,11 +531,9 @@ BUILD_DIRS += \
$(GHC_GENAPPLY_DIR)
endif
ifneq "$(HADDOCK_DOCS)" "NO"
BUILD_DIRS += \
utils/haddock \
utils/haddock/doc
endif
ifneq "$(CLEANING)" "YES"
BUILD_DIRS += \
......
......@@ -725,7 +725,7 @@ SRC_ALEX_OPTS = -g
HSTAGS = @HstagsCmd@
# Should we build haddock docs?
HADDOCK_DOCS = $(GhcWithInterpreter)
HADDOCK_DOCS = YES
# And HsColour the sources?
ifeq "$(HSCOLOUR)" ""
HSCOLOUR_SRCS = NO
......
Markdown is supported
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