summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-12-14 22:44:22 +0000
committerBob Wilson <bob.wilson@apple.com>2009-12-14 22:44:22 +0000
commitcc70e3b60de8d441b756ebbf7dbf6661bcc28aba (patch)
tree3715249273015d4b99eb53f3d0b850f4a4a6ef7d /llvm/docs
parent3914ee8fcdb02904713cfe05e33782e0cd749bc0 (diff)
downloadbcm5719-llvm-cc70e3b60de8d441b756ebbf7dbf6661bcc28aba.tar.gz
bcm5719-llvm-cc70e3b60de8d441b756ebbf7dbf6661bcc28aba.zip
Rearrange rules to add missing dependency and allow parallel makes.
llvm-svn: 91352
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/docs/Makefile b/llvm/docs/Makefile
index 310c4bd5fd3..5bfa6c3cfb3 100644
--- a/llvm/docs/Makefile
+++ b/llvm/docs/Makefile
@@ -100,7 +100,12 @@ install-ocamldoc: ocamldoc
$(FIND) . -type f -exec \
$(DataInstall) {} $(PROJ_docsdir)/ocamldoc/html \;
-ocamldoc: regen-ocamldoc $(PROJ_OBJ_DIR)/ocamldoc.tar.gz
+ocamldoc: regen-ocamldoc
+ $(Echo) Packaging ocamldoc documentation
+ $(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc.tar*
+ $(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/
regen-ocamldoc:
$(Echo) Building ocamldoc documentation
@@ -113,13 +118,6 @@ regen-ocamldoc:
$(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \
`$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" -exec echo -load '{}' ';'`
-$(PROJ_OBJ_DIR)/ocamldoc.tar.gz:
- $(Echo) Packaging ocamldoc documentation
- $(Verb) $(RM) -rf $@ $(PROJ_OBJ_DIR)/ocamldoc.tar
- $(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)
OpenPOWER on IntegriCloud