Skip to content
GitLab
Menu
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
20b77872
Commit
20b77872
authored
May 18, 2007
by
Simon Marlow
Browse files
autodetect BINDIST_DOC_WAYS again
parent
03da1182
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
20b77872
...
...
@@ -295,26 +295,32 @@ binary-dist::
# binary dist'ing the documentation.
# The default documentation to build/install is given below; overrideable
# via build.mk or the 'make' command-line.
#
# If BINDIST_DOC_WAYS is set, use that
# If XMLDocWays is set, use that
# Otherwise, figure out what we can build based on configure results
ifndef
BINDIST_DOC_WAYS
ifneq
"$(XMLDocWays)" ""
BINDIST_DOC_WAYS
=
$(XMLDocWays)
# ifneq "$(XSLTPROC)" ""
# BINDIST_DOC_WAYS = html
# ifneq "$(FOP)" ""
# BINDIST_DOC_WAYS += ps pdf
# else
# ifneq "$(PDFXMLTEX)" ""
# BINDIST_DOC_WAYS += pdf
# endif
# ifneq "$(XMLTEX)" ""
# ifneq "$(DVIPS)" ""
# BINDIST_DOC_WAYS += ps
# endif # DVIPS
# endif # XMLTEX
# endif # FOP
# endif # XSLTPROC
else
ifneq
"$(XSLTPROC)" ""
BINDIST_DOC_WAYS
=
html
ifneq
"$(FOP)" ""
BINDIST_DOC_WAYS
+=
ps pdf
else
ifneq
"$(PDFXMLTEX)" ""
BINDIST_DOC_WAYS
+=
pdf
endif
ifneq
"$(XMLTEX)" ""
ifneq
"$(DVIPS)" ""
BINDIST_DOC_WAYS
+=
ps
endif
# DVIPS
endif
# XMLTEX
endif
# FOP
endif
# XSLTPROC
endif
# XMLDocWays
endif
# BINDIST_DOC_WAYS
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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