aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Makefile
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
commit56a7c88cc532e8a72a8c3c303559500cd24d438b (patch)
tree63dea69cb00592cba2c498ddcdd6ff94b2bdfc74 /docs/Makefile
parentf4290266e9e1b7b4d7df9eda39e83ab59cbc372b (diff)
downloadexternal_llvm-56a7c88cc532e8a72a8c3c303559500cd24d438b.zip
external_llvm-56a7c88cc532e8a72a8c3c303559500cd24d438b.tar.gz
external_llvm-56a7c88cc532e8a72a8c3c303559500cd24d438b.tar.bz2
Add a unified 'generated documentation' target so the web site script has a consistent target to use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/Makefile b/docs/Makefile
index ea5620f..310c4bd 100644
--- a/docs/Makefile
+++ b/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