aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-09-07 01:34:40 +0100
committerMax Howell2009-09-07 01:34:40 +0100
commitf414bc8cce9e53aa48b3bd96ede0ef5637eb245b (patch)
tree8d6163385f4e994a42a7b709ba855f425a6b0fbf /bin
parent27263784d187fce20147bda311b439c12a770af5 (diff)
downloadhomebrew-f414bc8cce9e53aa48b3bd96ede0ef5637eb245b.tar.bz2
`brew make' becomes `brew create'
This is because I have observed two people confuse make with the "make" tool and thus assume `brew make' is `brew install'. `brew make' will be deprecated at 0.7, until then it shows a warning.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 9876c9a99..a9a372398 100755
--- a/bin/brew
+++ b/bin/brew
@@ -181,7 +181,14 @@ begin
when 'prune'
prune
+ # 'make' supported until 0.7 for historic reasons
when 'mk', 'make'
+ opoo "`brew make' has changed to `brew create'"
+ puts "This is because make can be confused with the `make' tool."
+ puts "brew make will continue working until Homebrew 0.7"
+ exec __FILE__, "create", *ARGV
+
+ when 'create'
if ARGV.include? '--macports'
exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
else