[commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, haddock-quick, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, travis, v2.18, wip-located-module-as, wip/D2418, wip/T12105, wip/T12105-2, wip/T12942, wip/T13163, wip/T3384, wip/embelleshed-rdr, wip/new-tree-one-param, wip/rae, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: doc: Only install if BUILD_SPHINX_HTML==YES (c6d6a18)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 21:01:03 UTC 2017


Repository : ssh://git@git.haskell.org/haddock

On branches: alexbiehl-patch-1,ghc-head,ghc-head1,haddock-quick,headdock-library-1.4.5,ie_avails,master,pr-filter-maps,pr/cabal-desc,travis,v2.18,wip-located-module-as,wip/D2418,wip/T12105,wip/T12105-2,wip/T12942,wip/T13163,wip/T3384,wip/embelleshed-rdr,wip/new-tree-one-param,wip/rae,wip/remove-frames,wip/remove-frames1,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13
Link       : http://git.haskell.org/haddock.git/commitdiff/c6d6a18d85e5e2d9bb5904e6919e8a8d7e31c4c5

>---------------------------------------------------------------

commit c6d6a18d85e5e2d9bb5904e6919e8a8d7e31c4c5
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Apr 10 19:31:39 2016 +0200

    doc: Only install if BUILD_SPHINX_HTML==YES
    
    Fixes GHC #11818.


>---------------------------------------------------------------

c6d6a18d85e5e2d9bb5904e6919e8a8d7e31c4c5
 doc/ghc.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/ghc.mk b/doc/ghc.mk
index 52a2f2a..ca63957 100644
--- a/doc/ghc.mk
+++ b/doc/ghc.mk
@@ -10,7 +10,9 @@
 #
 # -----------------------------------------------------------------------------
 
+ifeq "$$(BUILD_SPHINX_HTML)" "YES"
 INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock
+endif
 
 html : html_utils/haddock/doc
 



More information about the ghc-commits mailing list