summaryrefslogtreecommitdiffstats
path: root/include/clang-c
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-12-05 06:13:20 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-12-05 06:13:20 +0000
commit5460ff35ab748860f05aeea4685cd195153dca66 (patch)
treeafe52a17f43abb1e8f1a92fb8ad66dbd1f27dab9 /include/clang-c
parent42d6d0c91ab089cb252ab2f91c16d4557f458a2c (diff)
include/clang*/Makefile: Tweak installation to work with CLANG_SRCDIR.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r--include/clang-c/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang-c/Makefile b/include/clang-c/Makefile
index 3f3ae5843e..81f5f41b17 100644
--- a/include/clang-c/Makefile
+++ b/include/clang-c/Makefile
@@ -8,8 +8,8 @@ IntIncludeDir = $(DESTDIR)$(PROJ_internal_prefix)/include
install-local::
$(Echo) Installing Clang C API include files
$(Verb) $(MKDIR) $(IntIncludeDir)
- $(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include/clang-c" ; then \
- cd $(PROJ_SRC_ROOT)/tools/clang/include && \
+ $(Verb) if test -d "$(PROJ_SRC_DIR)" ; then \
+ cd $(PROJ_SRC_DIR)/.. && \
for hdr in `find clang-c -type f '!' '(' -name '*~' \
-o -name '.#*' -o -name '*.in' -o -name '*.txt' \
-o -name 'Makefile' -o -name '*.td' ')' -print \