[llvm-commits] [llvm] r103217 - /llvm/trunk/docs/mk/main.mk

mike-m mikem.llvm at gmail.com
Thu May 6 17:13:23 PDT 2010


Author: mikem
Date: Thu May  6 19:13:23 2010
New Revision: 103217

URL: http://llvm.org/viewvc/llvm-project?rev=103217&view=rev
Log:
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.

Modified:
    llvm/trunk/docs/mk/main.mk

Modified: llvm/trunk/docs/mk/main.mk
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/mk/main.mk?rev=103217&r1=103216&r2=103217&view=diff
==============================================================================
--- llvm/trunk/docs/mk/main.mk (original)
+++ llvm/trunk/docs/mk/main.mk Thu May  6 19:13:23 2010
@@ -104,12 +104,14 @@
 .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 @@
 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)





More information about the llvm-commits mailing list