<commit_before># -----------------------------------------------------------------------------
#
# (c) 2009 The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
#
# -----------------------------------------------------------------------------

INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock

html : html_utils/haddock/doc

html_utils/haddock/doc :
	make -C utils/haddock/doc html SPHINX_BUILD=$(SPHINXBUILD)
	cp -R utils/haddock/doc/.build-html utils/haddock/doc/haddock
<commit_msg>doc: Only install if BUILD_SPHINX_HTML==YES<commit_after># -----------------------------------------------------------------------------
#
# (c) 2009 The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
#
# -----------------------------------------------------------------------------

ifeq "$$(BUILD_SPHINX_HTML)" "YES"
INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock
endif

html : html_utils/haddock/doc

html_utils/haddock/doc :
	make -C utils/haddock/doc html SPHINX_BUILD=$(SPHINXBUILD)
	cp -R utils/haddock/doc/.build-html utils/haddock/doc/haddock

{'fraction_non_alphanumeric': 0.29913391072618256, 'fraction_numerical': 0.005329780146568954, 'mean_word_length': 1.7661141804788214, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5025480', 'n_tokens_mistral': 485, 'n_tokens_neox': 465, 'n_words': 98}