projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-11-23 12:23:10 by simonmar]
[ghc-hetmet.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
6ce05dc
..
88e14df
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-293,9
+293,24
@@
binary-dist::
# via build.mk or the 'make' command-line.
ifndef BINDIST_DOC_WAYS
# via build.mk or the 'make' command-line.
ifndef BINDIST_DOC_WAYS
-BINDIST_DOC_WAYS = html ps
+
+ifneq "$(XSLTPROC)" ""
+BINDIST_DOC_WAYS = html
+ifneq "$(FOP)" ""
+BINDIST_DOC_WAYS += ps pdf
+else
+ifneq "$(PDFXMLTEX)" ""
+BINDIST_DOC_WAYS += pdf
endif
endif
-# BINDIST_DOC_WAYS =
+ifneq "$(XMLTEX)" ""
+ifneq "$(DVIPS)" ""
+BINDIST_DOC_WAYS += ps
+endif # DVIPS
+endif # XMLTEX
+endif # FOP
+endif # XSLTPROC
+
+endif # BINDIST_DOC_WAYS
binary-dist ::
ifneq "$(DIR_DOCBOOK_XSL)" ""
binary-dist ::
ifneq "$(DIR_DOCBOOK_XSL)" ""