diff options
-rw-r--r-- | include/clang-c/Makefile | 4 | ||||
-rw-r--r-- | include/clang/Makefile | 4 |
2 files changed, 4 insertions, 4 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 \ diff --git a/include/clang/Makefile b/include/clang/Makefile index a6f2597cb9..f7ce58bd56 100644 --- a/include/clang/Makefile +++ b/include/clang/Makefile @@ -6,8 +6,8 @@ include $(CLANG_LEVEL)/Makefile install-local:: $(Echo) Installing Clang include files $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir) - $(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include/clang" ; 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 -type f \ '(' -name LICENSE.TXT \ -o -name '*.def' \ |