X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=88e14df03f382123a600a18eb91fa1987a03c4a1;hb=8b4568eb029afb98bc7ef6d0b3ef28d573908f14;hp=6ce05dc95d3af1d1ad72e7035bee198babbcf89a;hpb=def38ba3e80a7e8a2a3e63b9bbaa4a61e9a729ff;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index 6ce05dc..88e14df 100644 --- a/Makefile +++ b/Makefile @@ -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)" ""