Tweak build system to allow for installing the tutorial and uninstalling the docs.
[oota-llvm.git] / docs / Makefile
index 1b5987914dc1ff30776771a05050f02344f0c2ae..ea5620f1f9a45db1fa600e9f1f88acc2902f36a0 100644 (file)
@@ -8,7 +8,7 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL      := ..
-DIRS       := CommandGuide
+DIRS       := CommandGuide tutorial
 
 ifdef BUILD_FOR_WEBSITE
 PROJ_OBJ_DIR = .
@@ -115,3 +115,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)