From 37c4e49e4ada28b2a9c6cfb75d6bf860eeaaf465 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 16 May 2005 14:39:54 +0000 Subject: [PATCH] [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. --- Makefile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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)" "" -- 1.7.10.4