summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2009-10-27 19:59:34 +0000
committerOscar Fuentes <ofv@wanadoo.es>2009-10-27 19:59:34 +0000
commite814afd7b0efbd814b5fcb5ca3808994d0cbd5b0 (patch)
tree46e02d0666229b9876a73ff0f71680a3cf6f2a10 /clang
parent6997c643c627b25e879f1502188429e0c29143ee (diff)
downloadbcm5719-llvm-e814afd7b0efbd814b5fcb5ca3808994d0cbd5b0.tar.gz
bcm5719-llvm-e814afd7b0efbd814b5fcb5ca3808994d0cbd5b0.zip
Rather than excluding quite some things, and still installing
CMakeLists.txt, Makefiles, ... it's better to whitelist what we really want to install. Patch by Ingmar Vanhassel! llvm-svn: 85283
Diffstat (limited to 'clang')
-rw-r--r--clang/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
index 56212f1639f..7f4ab33b33a 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -83,8 +83,12 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}/include
)
-install(DIRECTORY include
- DESTINATION .
+install(DIRECTORY include/
+ DESTINATION include
+ FILES_MATCHING
+ PATTERN "*.def"
+ PATTERN "*.h"
+ PATTERN "*.td"
PATTERN ".svn" EXCLUDE
)
OpenPOWER on IntegriCloud