diff options
| author | Mike McQuaid | 2014-11-13 13:04:42 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-13 13:04:42 +0000 |
| commit | 62c270cbc62e82a01ff8e54bfed289672e5cfa59 (patch) | |
| tree | c686b5dc84524220d0a7076c51af319edc2bef61 | |
| parent | ca2c201fb313c21412a2f4db90ade57977712e91 (diff) | |
| download | brew-62c270cbc62e82a01ff8e54bfed289672e5cfa59.tar.bz2 | |
Formula Cookbook: fix make install separation.
| -rw-r--r-- | share/doc/homebrew/Formula-Cookbook.md | 6 |
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 ``` |
