diff options
| author | Nicolas Despres | 2012-01-21 00:51:20 +0100 |
|---|---|---|
| committer | Jack Nagel | 2012-02-01 22:52:14 -0600 |
| commit | d0be4d692b557056220514b743841b55ef180b80 (patch) | |
| tree | 0027ecd8154b2f86ae45d0e4f25a1f210ffc9f7b /Library/Contributions | |
| parent | 212927ee54cfcee0384ae3cac91e97516a5a02f8 (diff) | |
| download | brew-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.md | 5 |
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 |
