aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
diff options
context:
space:
mode:
authorNicolas Despres2012-01-21 00:51:20 +0100
committerJack Nagel2012-02-01 22:52:14 -0600
commitd0be4d692b557056220514b743841b55ef180b80 (patch)
tree0027ecd8154b2f86ae45d0e4f25a1f210ffc9f7b /Library/Contributions
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 'Library/Contributions')
-rw-r--r--Library/Contributions/manpages/brew.1.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 66fb3eb41..617088415 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -366,7 +366,10 @@ creating your own can be found on the wiki:
* HOMEBREW\_KEEP\_INFO:
If set, Homebrew will not remove files from `share/info`, allowing them
- to be linked from the Cellar.
+ to be linked from the Cellar. To access these info files, prepend
+ `share/info` to your `INFOPATH` environment variable.
+
+ *Example:* `export INFOPATH='/usr/local/share/info:/usr/share/info'`
* HOMEBREW\_MAKE\_JOBS:
If set, instructs Homebrew to use the value of `HOMEBREW_MAKE_JOBS` as