diff options
author | Harendra Kumar <harendra.kumar@gmail.com> | 2016-08-25 20:28:29 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-08-25 20:28:30 -0400 |
commit | 1083f453dd296d4336899893518c65ae5113dc3e (patch) | |
tree | e3ba6f03b2347f5efce73e264093db550a2ba953 /ghc.mk | |
parent | faaf31398110610a0f7068ca13d798d1ac21e02e (diff) | |
download | haskell-1083f453dd296d4336899893518c65ae5113dc3e.tar.gz |
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
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |