It prevents "make install" on a clean directory from working.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33905
91177308-0d34-0410-b5e6-
96231b3b80d8
OPTIONAL_DIRS :=
endif
-# Don't install utils, examples, or projects they are only used to
-# build LLVM.
-ifeq ($(MAKECMDGOALS),install)
- DIRS := $(filter-out utils, $(DIRS))
- OPTIONAL_DIRS :=
-endif
-
# Include the main makefile machinery.
include $(LLVM_SRC_ROOT)/Makefile.rules