X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FMakefile;h=310c4bd5fd3fff8e29fdaa8cd382672ace9e2767;hb=4ce138cc5593fb17161308af3cf25981b4088c17;hp=1b5987914dc1ff30776771a05050f02344f0c2ae;hpb=b04776696359e54153e20c426419fe54b6766473;p=oota-llvm.git diff --git a/docs/Makefile b/docs/Makefile index 1b5987914dc..310c4bd5fd3 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -8,7 +8,7 @@ ##===----------------------------------------------------------------------===## LEVEL := .. -DIRS := CommandGuide +DIRS := CommandGuide tutorial ifdef BUILD_FOR_WEBSITE PROJ_OBJ_DIR = . @@ -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 @@ -115,3 +119,7 @@ $(PROJ_OBJ_DIR)/ocamldoc.tar.gz: $(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/ocamldoc.tar ocamldoc $(Verb) $(GZIP) $(PROJ_OBJ_DIR)/ocamldoc.tar $(Verb) $(CP) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_OBJ_DIR)/ocamldoc/html/ + +uninstall-local:: + $(Echo) Uninstalling Documentation + $(Verb) $(RM) -rf $(PROJ_docsdir)