X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=Makefile;h=88e14df03f382123a600a18eb91fa1987a03c4a1;hp=6ce05dc95d3af1d1ad72e7035bee198babbcf89a;hb=37c4e49e4ada28b2a9c6cfb75d6bf860eeaaf465;hpb=33a84b8c79f0ccd2400996a0e571b0659d4c16ed 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)" ""