[commit: ghc] master: Fix doc build inconsistency (1083f45)
git at git.haskell.org
git at git.haskell.org
Fri Aug 26 14:26:58 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1083f453dd296d4336899893518c65ae5113dc3e/ghc
>---------------------------------------------------------------
commit 1083f453dd296d4336899893518c65ae5113dc3e
Author: Harendra Kumar <harendra.kumar at gmail.com>
Date: Thu Aug 25 20:28:29 2016 -0400
Fix doc build inconsistency
Remove the doc targets completely not partially when disabled.
Otherwise even though we are able to build the targets but we will see
some strange errors.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2470
>---------------------------------------------------------------
1083f453dd296d4336899893518c65ae5113dc3e
ghc.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/ghc.mk b/ghc.mk
index be480c9..792bd21 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -712,6 +712,7 @@ BUILD_DIRS := $(filter-out utils/haddock,$(BUILD_DIRS))
BUILD_DIRS := $(filter-out utils/haddock/doc,$(BUILD_DIRS))
endif
ifeq "$(BUILD_SPHINX_HTML) $(BUILD_SPHINX_PDF)" "NO NO"
+BUILD_DIRS := $(filter-out docs/users_guide,$(BUILD_DIRS))
# Don't to build this little utility if we're not building the User's Guide.
BUILD_DIRS := $(filter-out utils/mkUserGuidePart,$(BUILD_DIRS))
endif
More information about the ghc-commits
mailing list