summaryrefslogtreecommitdiff
path: root/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
commit271cc67044311e0bf72333bfa11f45eccad9dfc3 (patch)
treecbb1cb370568f94b8643365aa5ece1b2448ee6ca /docs
parentd0d425b285cd19b8a807f99c7f7820ef7b255243 (diff)
downloadllvm-271cc67044311e0bf72333bfa11f45eccad9dfc3.tar.gz
llvm-271cc67044311e0bf72333bfa11f45eccad9dfc3.tar.bz2
llvm-271cc67044311e0bf72333bfa11f45eccad9dfc3.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/mk/main.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/mk/main.mk b/docs/mk/main.mk
index f11a47f89e..54a7477d6a 100644
--- a/docs/mk/main.mk
+++ b/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)