summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authormike-m <mikem.llvm@gmail.com>2010-05-07 00:13:23 +0000
committermike-m <mikem.llvm@gmail.com>2010-05-07 00:13:23 +0000
commitc750e87c3390a0f8f8a61ec6bf3535aeb9f33b1c (patch)
tree0abed547852156e413d1054e23a26fb148893992 /llvm/docs
parent7ddbcf4f4b85e31ab69beb38fc12d7ee4754154e (diff)
downloadbcm5719-llvm-c750e87c3390a0f8f8a61ec6bf3535aeb9f33b1c.tar.gz
bcm5719-llvm-c750e87c3390a0f8f8a61ec6bf3535aeb9f33b1c.zip
Disable man->postscript and man->pdf doc generation unless explicitly
configured via --enable-doxygen. It seems some systems have broken pdfroff so automatic use of it is not safe. llvm-svn: 103217
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/mk/main.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/mk/main.mk b/llvm/docs/mk/main.mk
index f11a47f89e4..54a7477d6a4 100644
--- a/llvm/docs/mk/main.mk
+++ b/llvm/docs/mk/main.mk
@@ -104,12 +104,14 @@ docs-tar: $(MAIN.html.tar)
.PHONY: docs
docs: $(MAIN.html.files)
docs: $(MAIN.man.out)
+ifeq ($(ENABLE_DOXYGEN),1)
ifneq (,$(GROFF))
docs: $(MAIN.ps.out)
endif
ifneq (,$(PDFROFF))
docs: $(MAIN.pdf.out)
endif
+endif
$(MAIN.html.tar): | $(dir $(MAIN.html.tar))
$(MAIN.html.tar): $(MAIN.html.files)
@@ -154,12 +156,14 @@ vpath %.pod $(sort $(dir $(MAIN.man.in)))
install-docs: $(INSTALL.html.tar)
install-docs: $(INSTALL.html.out)
install-docs: $(INSTALL.man.out)
+ifeq ($(ENABLE_DOXYGEN),1)
ifneq (,$(GROFF))
install-docs: $(INSTALL.ps.out)
endif
ifneq (,$(PDFROFF))
install-docs: $(INSTALL.pdf.out)
endif
+endif
$(INSTALL.html.tar): | $(dir $(INSTALL.html.tar))
$(INSTALL.html.tar): $(MAIN.html.tar)
OpenPOWER on IntegriCloud