summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-08 17:32:47 +0000
committerChris Lattner <sabre@nondot.org>2009-05-08 17:32:47 +0000
commitc89146587ac8a030b1c63a52bdecd8eedbc87b09 (patch)
tree0cefdeb88f150acb9e8cff0add64fc51ab13e5d4 /Makefile
parentef554846f061b9b467e7824f8d01e3c59778f3f6 (diff)
downloadllvm-c89146587ac8a030b1c63a52bdecd8eedbc87b09.tar.gz
llvm-c89146587ac8a030b1c63a52bdecd8eedbc87b09.tar.bz2
llvm-c89146587ac8a030b1c63a52bdecd8eedbc87b09.tar.xz
Change 'make install' to install tblgen, for better support of out-of-tree targets,
patch by Mikael Lepistö! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 058eabcf42..123595dc55 100644
--- a/Makefile
+++ b/Makefile
@@ -71,10 +71,9 @@ ifeq ($(MAKECMDGOALS),unittests)
OPTIONAL_DIRS :=
endif
-# Don't install utils, examples, or projects they are only used to
-# build LLVM.
+# Use NO_INSTALL define of the Makefile of each directory for deciding
+# if the directory is installed or not
ifeq ($(MAKECMDGOALS),install)
- DIRS := $(filter-out utils, $(DIRS))
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
endif