aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-08-25 00:08:30 -0500
committerJack Nagel2011-08-25 00:08:30 -0500
commit8ebfe66556e8582db0ac79016b4c2c79bef9acf0 (patch)
treef612389f9894826bcaee8ca26ef6cfa5d2dd5bd4 /Library
parentf5599434b74b9e48d3b4b450eea7a6af7312f3b5 (diff)
downloadhomebrew-8ebfe66556e8582db0ac79016b4c2c79bef9acf0.tar.bz2
Document HOMEBREW_BUILD_FROM_SOURCE
Additionally, add '--build-from-source' to the bash-completion script.
Diffstat (limited to 'Library')
-rw-r--r--Library/Contributions/brew_bash_completion.sh2
-rw-r--r--Library/Contributions/manpages/brew.1.md4
2 files changed, 5 insertions, 1 deletions
diff --git a/Library/Contributions/brew_bash_completion.sh b/Library/Contributions/brew_bash_completion.sh
index 246cd3968..daf4eb5f7 100644
--- a/Library/Contributions/brew_bash_completion.sh
+++ b/Library/Contributions/brew_bash_completion.sh
@@ -30,7 +30,7 @@ _brew_to_completion()
if [[ ${COMP_WORDS[1]} == "install" && "$cur" == --* ]]; then
local opts=$(
local opts=(
- --force --verbose --debug --use-clang --use-gcc --use-llvm --ignore-dependencies --HEAD
+ --force --verbose --debug --use-clang --use-gcc --use-llvm --ignore-dependencies --build-from-source --HEAD
$(brew options --compact "$prev")
)
for o in ${opts[*]}; do
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index e4ae0b1fd..1674a8ddd 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -290,6 +290,10 @@ Some sample commands ship with Homebrew and are enabled by default.
## ENVIRONMENT
+ * HOMEBREW\_BUILD\_FROM\_SOURCE:
+ If set, instructs Homebrew to compile from source even when a formula
+ provides a bottle.
+
* HOMEBREW\_CACHE:
If set, instructs Homebrew to use the give folder as the download cache.
Otherwise, `~/Library/Caches/Homebrew` is used.