Commit 438e00e0 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't try to install docs stuff if NO_HADDOCK_DOCS=YES

parent 1f4784a9
......@@ -172,12 +172,14 @@ doc.library.%: stamp/$(CONFIGURE_STAMP_EXTRAS).% \
install: $(foreach SUBDIR,$(SUBDIRS),install.library.$(SUBDIR))
ifneq "$(NO_HADDOCK_DOCS)" "YES"
$(INSTALL_DATA) index.html doc-index.html $(INSTALL_DIR)
$(INSTALL_SCRIPT) gen_contents_index $(INSTALL_DIR)
# Hacks:
$(INSTALL_DATA) $(prefix)/share/ghc/doc/html/base/*.css $(INSTALL_DIR)
$(INSTALL_DATA) $(prefix)/share/ghc/doc/html/base/*.js $(INSTALL_DIR)
$(INSTALL_DATA) $(prefix)/share/ghc/doc/html/base/*.gif $(INSTALL_DIR)
# Cabal doesn't let us ask to install docs only, so do nothing here
Supports Markdown
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