aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorMike McQuaid2014-11-13 13:04:42 +0000
committerMike McQuaid2014-11-13 13:04:42 +0000
commitc97ec9ca2f6da30b535ccd3fd9fd65ec5fee1508 (patch)
treeef3fdf9669cc55e50ed578159c4b466565204727 /share
parent7f42326539e90f187fa9ef5c68bb79a60de76e32 (diff)
downloadhomebrew-c97ec9ca2f6da30b535ccd3fd9fd65ec5fee1508.tar.bz2
Formula Cookbook: fix make install separation.
Diffstat (limited to 'share')
-rw-r--r--share/doc/homebrew/Formula-Cookbook.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md
index 5ae4addbd..ccd5daf31 100644
--- a/share/doc/homebrew/Formula-Cookbook.md
+++ b/share/doc/homebrew/Formula-Cookbook.md
@@ -108,7 +108,7 @@ class Foo < Formula
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
# system "cmake", ".", *std_cmake_args
- system "make install"
+ system "make", "install"
end
end
```
@@ -384,7 +384,7 @@ In particular, when a test needs to be performed before installation use `onoe`
```ruby
if some_test?
- system "make install"
+ system "make", "install"
else
onoe "Error! Something is wrong."
end
@@ -900,7 +900,7 @@ class Foo < Formula
ENV.deparallelize
ENV.no_optimization
system "make" # separate make and make install steps
- system "make install"
+ system "make", "install"
end
end
```