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
81e1bfd2
Commit
81e1bfd2
authored
Oct 13, 2009
by
Ian Lynagh
Browse files
Fix install when various DOC variables are empty
parent
eb4427af
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
81e1bfd2
...
...
@@ -797,18 +797,24 @@ install_headers: $(INSTALL_HEADERS)
install_docs
:
$(INSTALL_HEADERS)
$(INSTALL_DIR)
$(DESTDIR)$(docdir)
ifneq
"$(INSTALL_DOCS)" ""
for
i
in
$(INSTALL_DOCS)
;
do
\
$(INSTALL_DOC)
$(INSTALL_OPTS)
$$
i
$(DESTDIR)$(docdir)
;
\
done
$(INSTALL_DIR)
$(INSTALL_OPTS)
$(DESTDIR)$(docdir)
/html
;
\
$(INSTALL_DOC)
$(INSTALL_OPTS)
docs/index.html
$(DESTDIR)$(docdir)
/html
;
\
endif
$(INSTALL_DIR)
$(INSTALL_OPTS)
$(DESTDIR)$(docdir)
/html
$(INSTALL_DOC)
$(INSTALL_OPTS)
docs/index.html
$(DESTDIR)$(docdir)
/html
ifneq
"$(INSTALL_LIBRARY_DOCS)" ""
for
i
in
$(INSTALL_LIBRARY_DOCS)
;
do
\
$(INSTALL_DOC)
$(INSTALL_OPTS)
$$
i
$(DESTDIR)$(docdir)
/html/libraries/
;
\
done
endif
ifneq
"$(INSTALL_HTML_DOC_DIRS)" ""
for
i
in
$(INSTALL_HTML_DOC_DIRS)
;
do
\
$(INSTALL_DIR)
$(INSTALL_OPTS)
$(DESTDIR)$(docdir)
/html/
`
basename
$$
i
`
;
\
$(INSTALL_DOC)
$(INSTALL_OPTS)
$$
i/
*
$(DESTDIR)$(docdir)
/html/
`
basename
$$
i
`
;
\
done
endif
INSTALLED_PACKAGE_CONF
=
$(DESTDIR)$(topdir)
/package.conf.d
...
...
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