[llvm-branch-commits] [cfe-branch] r107156 - /cfe/branches/Apple/williamson-IB/ClangBNI.mk
Daniel Dunbar
daniel at zuster.org
Tue Jun 29 10:04:36 PDT 2010
Author: ddunbar
Date: Tue Jun 29 12:04:36 2010
New Revision: 107156
URL: http://llvm.org/viewvc/llvm-project?rev=107156&view=rev
Log:
Sync with Whitney Makefiles.
Modified:
cfe/branches/Apple/williamson-IB/ClangBNI.mk
Modified: cfe/branches/Apple/williamson-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/williamson-IB/ClangBNI.mk?rev=107156&r1=107155&r2=107156&view=diff
==============================================================================
--- cfe/branches/Apple/williamson-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/williamson-IB/ClangBNI.mk Tue Jun 29 12:04:36 2010
@@ -407,12 +407,14 @@
install-clang-rootlinks: install-clang_final
$(MKDIR) -p $(DSTROOT)/usr/bin
+ $(MKDIR) -p $(DSTROOT)/usr/share/man/man1
ln -sf ../../$(Install_Prefix)/bin/clang $(DSTROOT)/usr/bin/clang
- ln -sf ../../$(Install_Prefix)/bin/clang++ $(DSTROOT)/usr/bin/clang++; \
- $(MKDIR) -p $(DSTROOT)/usr/share/man/man1/
cp $(DSTROOT)/$(Install_Prefix)/share/man/man1/clang.1 $(DSTROOT)/usr/share/man/man1/
- ln -sf clang.1 $(DSTROOT)/$(Install_Prefix)/share/man/man1/clang++.1
- ln -sf clang.1 $(DSTROOT)/usr/share/man/man1/clang++.1
+ if [ -f $(DSTROOT)/$(Install_Prefix)/bin/clang++ ]; then \
+ ln -sf ../../$(Install_Prefix)/bin/clang++ $(DSTROOT)/usr/bin/clang++; \
+ ln -sf clang.1 $(DSTROOT)/$(Install_Prefix)/share/man/man1/clang++.1; \
+ ln -sf clang.1 $(DSTROOT)/usr/share/man/man1/clang++.1
+ fi
install-clang-opensourcelicense: install-clang_final
$(MKDIR) $(OSV)
More information about the llvm-branch-commits
mailing list