diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-12-05 06:13:20 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-12-05 06:13:20 +0000 |
| commit | 770142e49f47e9cb2f838e1415164fedcb5a9822 (patch) | |
| tree | d3d859e28014ae841f42594fbb20d00886547cf0 /clang/include/clang-c | |
| parent | 3649ef008d5324b7be7d2731e8b43da58f749cf9 (diff) | |
| download | bcm5719-llvm-770142e49f47e9cb2f838e1415164fedcb5a9822.tar.gz bcm5719-llvm-770142e49f47e9cb2f838e1415164fedcb5a9822.zip | |
include/clang*/Makefile: Tweak installation to work with CLANG_SRCDIR.
llvm-svn: 145800
Diffstat (limited to 'clang/include/clang-c')
| -rw-r--r-- | clang/include/clang-c/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang-c/Makefile b/clang/include/clang-c/Makefile index 3f3ae5843ec..81f5f41b176 100644 --- a/clang/include/clang-c/Makefile +++ b/clang/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 \ |

