diff options
author | simonmar <unknown> | 2005-05-16 14:39:54 +0000 |
---|---|---|
committer | simonmar <unknown> | 2005-05-16 14:39:54 +0000 |
commit | 37c4e49e4ada28b2a9c6cfb75d6bf860eeaaf465 (patch) | |
tree | 3bf3d03e7e259e7807a125e2f2779d6ad911ad07 /Makefile | |
parent | 33a84b8c79f0ccd2400996a0e571b0659d4c16ed (diff) | |
download | haskell-37c4e49e4ada28b2a9c6cfb75d6bf860eeaaf465.tar.gz |
[project @ 2005-05-16 14:39:54 by simonmar]
Set BINDIST_DOC_WAYS appropriately depending on which doc-building
tools are available. The default is to build all of html, ps & pdf if
possible.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -293,9 +293,24 @@ binary-dist:: # 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 -# 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)" "" |