mxcl/homebrew — pull request #9700 by polrop (2012-01-21 02:18:11+00:00)
Title: Install info documentation properly

With this branch the 'share/info/dir' file is handle properly at link/unlink stage.

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 containing info files.
- Install an entry in the directory for each linked info file when the brew is linked.
- Uninstall the entry when the brew is unlinked.