summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-03-31 17:27:57 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-03-31 17:27:57 +0000
commit765457e28fcd43f009fd73fc66ad5a7e093774f1 (patch)
treeb58f2708a2414554c57ced6a4fb70595da910bfd /llvm/docs
parent44a34aa67ccb1f7c8e748040d405d9cc782446e0 (diff)
downloadbcm5719-llvm-765457e28fcd43f009fd73fc66ad5a7e093774f1.tar.gz
bcm5719-llvm-765457e28fcd43f009fd73fc66ad5a7e093774f1.zip
Add a unified 'generated documentation' target so the web site script has a consistent target to use.
llvm-svn: 48985
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/docs/Makefile b/llvm/docs/Makefile
index ea5620f1f9a..310c4bd5fd3 100644
--- a/llvm/docs/Makefile
+++ b/llvm/docs/Makefile
@@ -31,7 +31,7 @@ DOXYFILES := doxygen.cfg.in doxygen.css doxygen.footer doxygen.header \
doxygen.intro
EXTRA_DIST := $(HTML) $(DOXYFILES) llvm.css CommandGuide img
-.PHONY: install-html install-doxygen doxygen install-ocamldoc ocamldoc
+.PHONY: install-html install-doxygen doxygen install-ocamldoc ocamldoc generated
install_targets := install-html
ifeq ($(ENABLE_DOXYGEN),1)
@@ -42,6 +42,10 @@ install_targets += install-ocamldoc
endif
install-local:: $(install_targets)
+# Live documentation is generated for the web site using this target:
+# 'make generated BUILD_FOR_WEBSITE=1'
+generated:: doxygen ocamldoc
+
install-html: $(PROJ_OBJ_DIR)/html.tar.gz
$(Echo) Installing HTML documentation
$(Verb) $(MKDIR) $(PROJ_docsdir)/html
OpenPOWER on IntegriCloud