Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
438e00e0
Commit
438e00e0
authored
Apr 15, 2007
by
Ian Lynagh
Browse files
Don't try to install docs stuff if NO_HADDOCK_DOCS=YES
parent
1f4784a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/Makefile
View file @
438e00e0
...
...
@@ -172,12 +172,14 @@ doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
INSTALL_DIR
=
$(prefix)
/share/ghc/doc/html/
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)
endif
# Cabal doesn't let us ask to install docs only, so do nothing here
install-docs
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment