aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/llvm.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-04-04 16:56:47 -0700
committerAdam Vandenberg2011-04-04 16:56:47 -0700
commit1fb85efce5e47a832f187f9c8ee12bc42649fa3a (patch)
treebfaf9f7b0f5eb90f8d184179c0fa962621514240 /Library/Formula/llvm.rb
parentf9f90beaa129c78ab31a24c49960dce2455d9eda (diff)
downloadhomebrew-1fb85efce5e47a832f187f9c8ee12bc42649fa3a.tar.bz2
Rewrite caveats to new style.
To make it easier to copy and paste multiline scripts from caveats, no longer use $ as a prompt marker.
Diffstat (limited to 'Library/Formula/llvm.rb')
-rw-r--r--Library/Formula/llvm.rb18
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb
index 20ed3cb4f..e9ab9accb 100644
--- a/Library/Formula/llvm.rb
+++ b/Library/Formula/llvm.rb
@@ -61,22 +61,20 @@ class Llvm < Formula
system "make" # separate steps required, otherwise the build fails
system "make install"
- if build_clang?
- Dir.chdir clang_dir do
- system "make install"
- end
- end
+ Dir.chdir clang_dir do
+ system "make install"
+ end if build_clang?
end
- def caveats; <<-EOS
- If you already have LLVM installed, then "brew upgrade llvm" might not
- work. Instead, try:
- $ brew rm llvm
- $ brew install llvm
+ def caveats; <<-EOS.undent
+ If you already have LLVM installed, then "brew upgrade llvm" might not work.
+ Instead, try:
+ brew rm llvm & brew install llvm
EOS
end
end
+
__END__
diff --git a/Makefile.rules b/Makefile.rules
index 9cff105..44d5b2d 100644