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
This commit is contained in:
mike-m 2010-05-07 00:13:23 +00:00
parent 7ddbcf4f4b
commit c750e87c33
1 changed files with 4 additions and 0 deletions

View File

@ -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)