[cfe-commits] r145800 - in /cfe/trunk/include: clang-c/Makefile clang/Makefile

NAKAMURA Takumi geek4civic at gmail.com
Sun Dec 4 22:13:20 PST 2011


Author: chapuni
Date: Mon Dec  5 00:13:20 2011
New Revision: 145800

URL: http://llvm.org/viewvc/llvm-project?rev=145800&view=rev
Log:
include/clang*/Makefile: Tweak installation to work with CLANG_SRCDIR.

Modified:
    cfe/trunk/include/clang-c/Makefile
    cfe/trunk/include/clang/Makefile

Modified: cfe/trunk/include/clang-c/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Makefile?rev=145800&r1=145799&r2=145800&view=diff
==============================================================================
--- cfe/trunk/include/clang-c/Makefile (original)
+++ cfe/trunk/include/clang-c/Makefile Mon Dec  5 00:13:20 2011
@@ -8,8 +8,8 @@
 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 \

Modified: cfe/trunk/include/clang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Makefile?rev=145800&r1=145799&r2=145800&view=diff
==============================================================================
--- cfe/trunk/include/clang/Makefile (original)
+++ cfe/trunk/include/clang/Makefile Mon Dec  5 00:13:20 2011
@@ -6,8 +6,8 @@
 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' \





More information about the cfe-commits mailing list