From d0be4d692b557056220514b743841b55ef180b80 Mon Sep 17 00:00:00 2001 From: Nicolas Despres Date: Sat, 21 Jan 2012 00:51:20 +0100 Subject: 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 --- share/man/man1/brew.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'share') 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 -- cgit v1.2.3