aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorNicolas Despres2012-01-21 00:51:20 +0100
committerJack Nagel2012-02-01 22:52:14 -0600
commitd0be4d692b557056220514b743841b55ef180b80 (patch)
tree0027ecd8154b2f86ae45d0e4f25a1f210ffc9f7b /share
parent212927ee54cfcee0384ae3cac91e97516a5a02f8 (diff)
downloadbrew-d0be4d692b557056220514b743841b55ef180b80.tar.bz2
keg: handle the info directory file properly
If HOMEBREW_KEEP_INFO environment variable is set: - Do not symlink the info directory file (aka 'share/info/dir') otherwise it gets overwritten by next installed brew. - Install an entry in the directory for each linked info file when the brew is linked. - Uninstall the entry when the brew is unlinked. Closes Homebrew/homebrew#9700. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/brew.17
1 files changed, 5 insertions, 2 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index c2774aced..07495c736 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "BREW" "1" "January 2012" "Homebrew" "brew"
+.TH "BREW" "1" "February 2012" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for OS X
@@ -403,7 +403,10 @@ If set, Homebrew will use this editor when editing a single formula, or several
.
.TP
HOMEBREW_KEEP_INFO
-If set, Homebrew will not remove files from \fBshare/info\fR, allowing them to be linked from the Cellar\.
+If set, Homebrew will not remove files from \fBshare/info\fR, allowing them to be linked from the Cellar\. To access these info files, prepend \fBshare/info\fR to your \fBINFOPATH\fR environment variable\.
+.
+.IP
+\fIExample:\fR \fBexport INFOPATH=\'/usr/local/share/info:/usr/share/info\'\fR
.
.TP
HOMEBREW_MAKE_JOBS