summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2008-03-30 20:32:18 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2008-03-30 20:32:18 +0000
commit4f678c36922d2537c1a81bd1946691f3acabd515 (patch)
tree533e1e8774a5a7ba88fad7060ac66758db60d084 /docs/Makefile
parent66a1a05c86721b2769ef107d39675afe3c79b913 (diff)
downloadllvm-4f678c36922d2537c1a81bd1946691f3acabd515.tar.gz
llvm-4f678c36922d2537c1a81bd1946691f3acabd515.tar.bz2
llvm-4f678c36922d2537c1a81bd1946691f3acabd515.tar.xz
Tweak build system to allow for installing the tutorial and uninstalling the docs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48968 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 1b5987914d..ea5620f1f9 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -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)